RE: [skinlf-dev] NPE when selecting a menu item with ENTER key.
Kirill Grouchnikov <[email protected]> Sun, 19 Feb 2006 09:38:30 -0800 (PST)
| Newsgroups | gmane.comp.java.skinlf.devel |
|---|---|
| Message-ID | <[email protected]> |
--0-1036284216-1140370710=:33409 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Christian, In the future you may want to not send non-redistributable mails to an entire mailing list. Not onyl it gets sent to possibly a lot of people, it also gets archived at java.net for *all* to see. Kirill Christian Schlichtherle <[email protected]> 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�d�ric 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�s 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------- Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. --0-1036284216-1140370710=:33409 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Christian,<br><br>In the future you may want to not send non-redistributable mails to an entire mailing list. Not onyl it gets sent to possibly a lot of people, it also gets archived at java.net for *all* to see.<br><br>Kirill<br><br><b><i>Christian Schlichtherle <[email protected]></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Frederic,<br><br>maybe it's caused by my custom look and feel. Could you try this?<br><br>Please do not redistribute it further.<br><br>With best regards,<br>Christian Schlichtherle<br>---<br>Schlichtherle IT Services<br>Wittelsbacher Str. 10a<br>10707 Berlin<br> <br>Mobil: 0173 / 27 12 470<br>mailto:[email protected]<br>http://www.schlichtherle.de<br>> -----Original Message-----<br>> From: Fr�d�ric Lavigne [mailto:[email protected]]<br>> Sent: Sunday, February 19, 2006 5:22 PM<br>> To: [email protected]<br>> Subject: Re: [skinlf-dev] NPE when selecting a menu item with ENTER key.<br>> <br>> Hi Christian,<br>> <br>> I've tried reproducing it with the SkinLF demo (and SkinLF 6.2<br>> released last week) but I can't get the NPE you are encountering. Do<br>> you have a small testcase I could use?<br>> <br>> thanks,<br>> -fred<br>> <br>> On Feb 19, 2006, at 2:14 PM, Christian Schlichtherle wrote:<br>> <br>> > Hi Fred,<br>> ><br>> ><br>> ><br>> > I noticed a NullPointerException in skinlf when selecting a menu<br>> > item with the ENTER key instead of the mouse or a mnemonic. This<br>> > does not happen with Sun�s Metal L&F. The NPE happens with both JDK<br>> > 1.4.2_10 and JDK 1.5.0_06. Here is the stack trace.<br>> ><br>> ><br>> ><br>> > java.lang.NullPointerException<br>> ><br>> > at<br>> > javax.swing.plaf.basic.BasicMenuItemUI.isInternalFrameSystemMenu<br>> > (BasicMenuItemUI.java:1127)<br>> ><br>> > at javax.swing.plaf.basic.BasicMenuItemUI.doClick<br>> > (BasicMenuItemUI.java:1095)<br>> <br>> <br>> ---------------------------------------------------------------------<br>> To unsubscribe, e-mail: [email protected]<br>> For additional commands, e-mail: [email protected]<br>---------------------------------------------------------------------<br>To unsubscribe, e-mail: [email protected]<br>For additional commands, e-mail: [email protected]</blockquote><br><p> <hr size=1>Brings words and photos together (easily) with<br> <a href="http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.mail.yahoo.com">PhotoMail </a> - it's free and works with Yahoo! Mail. --0-1036284216-1140370710=:33409--