Hi Scott,
Am Donnerstag, den 23.02.2006, 19:08 -0500 schrieb Scott Gilbertson:
> Roman> This patch also makes Toolkit.createComponent() return a
> GLightweightPeer
> Roman> again. I got NullPointerExceptions with Swing applications otherwise
> and
> Roman> think we should do like Sun here and provide a default impl for
> Roman> lightweight peers.
> Roman> ...
> Roman> (createComponent): Create GLightweightPeer here.
>
> I emphatically agree, but wasn't it already doing that?
>
> Exerpt from the patch (java/awt/Toolkit.java):
>
> protected LightweightPeer createComponent(Component target)
> {
> - return new gnu.java.awt.peer.GLightweightPeer (target);
> + return new GLightweightPeer(target);
> }
> Whoops, then something went wrong with me doing cvs up / cvs diff / etc. Sorry for that one. I did a cvs up after preparing the ChangeLog and email, and created the patch afterwards, without noticing that this fix was already there... /Roman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
