Re: [skinlf-dev] NPE when selecting a menu item with ENTER key.
Frédéric Lavigne <[email protected]> Sun, 19 Feb 2006 17:39:21 +0100
| Newsgroups | gmane.comp.java.skinlf.devel |
|---|---|
| Message-ID | <[email protected]> |
I tested your themepack with the SkinLF demo and still no NPE. Here is the procedure I followed: I use the mouse to show the "File" =20 menu, then I navigate with the keyboard to "Open" item and press the =20 ENTER key, the File dialog pops up. -fred On Feb 19, 2006, at 5:29 PM, Christian Schlichtherle wrote: > 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 =20 >> 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]