[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about implementing java.awt.Toolkit.createComponent for lig
From: |
Brian Jones |
Subject: |
Re: Question about implementing java.awt.Toolkit.createComponent for lightweights |
Date: |
21 May 2003 00:24:42 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
"Scott Gilbertson" <address@hidden> writes:
> I submitted the following patch for GCJ, but there's been some discussion
> about whether it's OK. I'm hoping someone on the Classpath project has
> either already thought about the issue or can provide an opinion.
> http://gcc.gnu.org/ml/java-patches/2003-q2/msg00140.html
>
> The patch implements java.awt.createComponent, so that lightweight
> components and containers work (as would presumably be required for swing).
> The above link includes a test class which works with the patch but not
> without it.
>
> Questions:
>
> Is it right for java.awt.Toolkit to implement createComponent, or should it
> return null and leave the implementation up to the platform-specific peers
> (GtkToolkit, XToolkit, etc.)?
>
> If my patch is OK, should it go in Classpath first, rather than directly
> into GCJ?
Either is okay if it is accepted in one of them. I thought I
responded to this on the gcj list some time back.
Brian
--
Brian Jones <address@hidden>