Can you post some sample code showing it? Because, I have yet to see this.
Paul Franz ----- Original Message ----- From: "David Treves" <[EMAIL PROTECTED]> Date: Thu, 6 Jun 2002 17:02:52 +0200 To: "JDJList" <[EMAIL PROTECTED]> Subject: [jdjlist] Re: 2 SWING questions > Nope, I am simply creating a new JButton and add it to the container. The > behavior is abnormal since it is not consistent, sometimes (and I could not > determine what causes it) the button's font is PLAIN and when the mouse > hovers on it for the first time it becomes BOLD and stays that way... > > Is that a bug? Did you happen to encounter that behavior as well? > > (I am using jdk 1.3.1_01 on w2k box). > > Thanks, > David Treves. > > > ----- Original Message ----- > From: "Paul Franz" <[EMAIL PROTECTED]> > To: "JDJList" <[EMAIL PROTECTED]> > Sent: Thursday, June 06, 2002 3:22 PM > Subject: [jdjlist] Re: 2 SWING questions > > > > Hmmm, I just checked out the source code for the Metal L&F and the real > question I have is how is the Font being set to Font.PLAIN anyway? The > reason I ask is that the default is Font.BOLD for all of the component text. > Are you setting the font of the component to be Font.PLAIN? > > > > Paul Franz > > > > ----- Original Message ----- > > From: "David Treves" <[EMAIL PROTECTED]> > > Date: Thu, 6 Jun 2002 16:06:56 +0200 > > To: "JDJList" <[EMAIL PROTECTED]> > > Subject: [jdjlist] Re: 2 SWING questions > > > > > > > Hi Paul, > > > > > > First, no question is stupid, since that situation is strange so > anything > > > can be... ;o) > > > > > > No, I use pure SWING (J)components only, and yes, I am using the default > > > buttons, no home made components here. > > > > > > Any ideas? > > > > > > > > > Thanks, > > > David Treves. > > > > > > ----- Original Message ----- > > > From: "Paul Franz" <[EMAIL PROTECTED]> > > > To: "JDJList" <[EMAIL PROTECTED]> > > > Sent: Thursday, June 06, 2002 3:04 PM > > > Subject: [jdjlist] Re: 2 SWING questions > > > > > > > > > > Here is a stupid question for ya: Are you using AWT components and > Swing > > > components together? Also, are you setting a default button? > > > > > > > > Paul Franz > > > > > > > > ----- Original Message ----- > > > > From: "David Treves" <[EMAIL PROTECTED]> > > > > Date: Thu, 6 Jun 2002 08:28:16 +0200 > > > > To: "JDJList" <[EMAIL PROTECTED]> > > > > Subject: [jdjlist] Re: 2 SWING questions > > > > > > > > > > > > > Hi there, > > > > > > > > > > Yes, if I repaint the component it will make the font bold, but it > is a > > > funny behavior... Is it a bug or a coding error? > > > > > > > > > > David. > > > > > ----- Original Message ----- > > > > > From: [EMAIL PROTECTED] > > > > > To: JDJList > > > > > Sent: Wednesday, June 05, 2002 3:40 PM > > > > > Subject: [jdjlist] Re: 2 SWING questions > > > > > > > > > > > > > > > In reference to question #1 have you tried repainting the button. > I've > > > had this problem several times with different types of components. > > > > > To change your membership options, refer to: > > > > > http://www.sys-con.com/java/list.cfm > > > > > > > > > > To change your membership options, refer to: > > > > > http://www.sys-con.com/java/list.cfm > > > > > > > > > > > > > -- > > > > _______________________________________________ > > > > Sign-up for your own FREE Personalized E-mail at Email.com > > > > http://www.email.com/?sr=signup > > > > > > > > > > > > To change your membership options, refer to: > > > > http://www.sys-con.com/java/list.cfm > > > > > > > > > To change your membership options, refer to: > > > http://www.sys-con.com/java/list.cfm > > > > > > > > > > -- > > _______________________________________________ > > Sign-up for your own FREE Personalized E-mail at Email.com > > http://www.email.com/?sr=signup > > > > > > To change your membership options, refer to: > > http://www.sys-con.com/java/list.cfm > > > To change your membership options, refer to: > http://www.sys-con.com/java/list.cfm > > -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Email.com http://www.email.com/?sr=signup To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
