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 &lt;[email protected]&gt;</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>&gt; -----Original Message-----<br>&gt; From: Fr�d�ric Lavigne [mailto:[email protected]]<br>&gt; Sent: 
 Sunday, February 19, 2006 5:22 PM<br>&gt; To: [email protected]<br>&gt; Subject: Re:
 [skinlf-dev] NPE when selecting a menu item with ENTER key.<br>&gt; <br>&gt; Hi Christian,<br>&gt; <br>&gt; I've tried reproducing it with the SkinLF demo (and SkinLF 6.2<br>&gt; released last week) but I can't get the NPE you are encountering. Do<br>&gt; you have a small testcase I could use?<br>&gt; <br>&gt; thanks,<br>&gt; -fred<br>&gt; <br>&gt; On Feb 19, 2006, at 2:14 PM, Christian Schlichtherle wrote:<br>&gt; <br>&gt; &gt; Hi Fred,<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; I noticed a NullPointerException in skinlf when selecting a menu<br>&gt; &gt; item with the ENTER key instead of the mouse or a mnemonic. This<br>&gt; &gt; does not happen with Sun�s Metal L&amp;F. The NPE happens with both JDK<br>&gt; &gt; 1.4.2_10 and JDK 1.5.0_06. Here is the stack trace.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; java.lang.NullPointerException<br>&gt; &gt;<br>&gt; &gt;  
        at<br>&gt; &gt; javax.swing.plaf.basic.BasicMenuItemUI.isInternalFrameSystemMenu<br>&gt;
 &gt; (BasicMenuItemUI.java:1127)<br>&gt; &gt;<br>&gt; &gt;         at javax.swing.plaf.basic.BasicMenuItemUI.doClick<br>&gt; &gt; (BasicMenuItemUI.java:1095)<br>&gt; <br>&gt; <br>&gt; ---------------------------------------------------------------------<br>&gt; To unsubscribe, e-mail: [email protected]<br>&gt; 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--