RE: [skinlf-dev] NPE when selecting a menu item with ENTER key.
"Christian Schlichtherle" <[email protected]> Sun, 19 Feb 2006 21:12:03 +0100
| Newsgroups | gmane.comp.java.skinlf.devel |
|---|---|
| Organization | Schlichtherle IT Services |
| Message-ID | <[email protected]> |
Hi Fred, Hmm, strange. I will try to mock up a short example which shows this behaviour. With best regards, Christian Schlichtherle --- Schlichtherle IT Services Wittelsbacher Str. 10a 10707 Berlin =20 Mobil: 0173 / 27 12 470 mailto:[email protected] http://www.schlichtherle.de > -----Original Message----- > From: Fr=E9d=E9ric Lavigne [mailto:[email protected]] > Sent: Sunday, February 19, 2006 5:39 PM > To: [email protected] > Subject: Re: [skinlf-dev] NPE when selecting a menu item with ENTER = key. >=20 > I tested your themepack with the SkinLF demo and still no NPE. >=20 > Here is the procedure I followed: I use the mouse to show the "File" > menu, then I navigate with the keyboard to "Open" item and press the > ENTER key, the File dialog pops up. >=20 > -fred >=20 > On Feb 19, 2006, at 5:29 PM, Christian Schlichtherle wrote: >=20 > > Hi Frederic, > > > > maybe it's caused by my custom look and feel. Could you try this? > > > > Please do not redistribute it further. > > > > With best regards, > > Christian Schlichtherle > > --- > > Schlichtherle IT Services > > Wittelsbacher Str. 10a > > 10707 Berlin > > > > Mobil: 0173 / 27 12 470 > > mailto:[email protected] > > http://www.schlichtherle.de > >> -----Original Message----- > >> From: Fr=E9d=E9ric Lavigne [mailto:[email protected]] > >> Sent: Sunday, February 19, 2006 5:22 PM > >> To: [email protected] > >> Subject: Re: [skinlf-dev] NPE when selecting a menu item with > >> ENTER key. > >> > >> Hi Christian, > >> > >> I've tried reproducing it with the SkinLF demo (and SkinLF 6.2 > >> released last week) but I can't get the NPE you are encountering. = Do > >> you have a small testcase I could use? > >> > >> thanks, > >> -fred > >> > >> On Feb 19, 2006, at 2:14 PM, Christian Schlichtherle wrote: > >> > >>> Hi Fred, > >>> > >>> > >>> > >>> I noticed a NullPointerException in skinlf when selecting a menu > >>> item with the ENTER key instead of the mouse or a mnemonic. This > >>> does not happen with Sun=92s Metal L&F. The NPE happens with both = JDK > >>> 1.4.2_10 and JDK 1.5.0_06. Here is the stack trace. > >>> > >>> > >>> > >>> java.lang.NullPointerException > >>> > >>> at > >>> javax.swing.plaf.basic.BasicMenuItemUI.isInternalFrameSystemMenu > >>> (BasicMenuItemUI.java:1127) > >>> > >>> at javax.swing.plaf.basic.BasicMenuItemUI.doClick > >>> (BasicMenuItemUI.java:1095) > >> > >> > >> = --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> <themepack.zip> > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]