🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18496

Re: Swing JButton

#18496
From: Amy S Lee
Date: Fri, 12 Jun 1998 00:00
28 lines
1521 bytes


Gerry Mantha wrote:

> Amy, it sounds like you might be using Metal look&feel that is the default.
> The buttons don't actually depress, but kinda flash.  If you don't like it,
> un-comment the Look&Feel of your choice in your Applet code.  JBuilder
> automatically includes the 3 commented out lines for our convenience.
> Windows or Motif L&F should give you the desired behaviour.
>
> luck, Gerry
>
> Amy S Lee wrote in message <35804D45.6280FFC2@engr.colostate.edu>...
> >I have using a Swing JButton in an applet.  However when the I run the
> >applet and hit the button, it does not depress like the AWT button
> >does.  Is there a property I can set to depress the Jbutton when it is
> >hit?
> >
> >Amy
> >
> >

I tried changing the L&F to windows and motif and that did not change
anything.  I am currently placing an icon on the JButton, would that affect
anything?

Amy
Technical Details
Message-ID: <35816101.ECE2A4B9@engr.colostate.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35804D45.6280FFC2@engr.colostate.edu> <6lpu77$c6b1@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,4bb1e06bf98695cc
X-Google-Attributes: gidf74b3,public
From: Amy S Lee <al587439@engr.colostate.edu>
Subject: Re: Swing JButton
Date: 1998/06/12
Message-ID: <35816101.ECE2A4B9@engr.colostate.edu>
X-Deja-AN: 362066216
Content-Transfer-Encoding: 7bit
References: <35804D45.6280FFC2@engr.colostate.edu> <6lpu77$c6b1@forums.borland.com>
To: Gerry Mantha <gmantha@home.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language