This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: AWT
On Mon, 2004-08-16 at 07:02, Norman Hendrich wrote:
> Hello,
>
> this is the third attempt to get my mail through your spamfilter...
>
>
> ---
>
> I just managed to get jfig running under GCJ 3.5! (The AWT version,
> that is; I guess I will try Swing again after the next GUI-branch merge):
>
> http://tams-www.informatik.uni-hamburg.de/applets/jfig/
> archive/screen-jfig-gcj-20040816.gif
>
Great!
>
> BTW, this is the "gcj (GCC) 3.5.0 20040704 (experimental)" snapshot with
> the recent drawImage patch.
>
> Status: Most things work, but there are a few issues:
>
> * help menu missing
>
Can you file a bug report under the AWT component?
> * annoying flicker for Canvas/Panel subclasses (see attached testcase);
> this also means the app is eating 100% cpu time... why does the event
> loop keeps calling paint() over and over again?
>
I suspect an expose -> paint -> expose -> paint -> ... loop. I'm
working on a patch that will eliminate all such loops. I'll make sure
the test you've attached works properly.
> * CheckboxMenuItems don't work
>
Can you file a bug report for this too? This one should be pretty
straightforward to fix.
> * focus problems with nested dialogs (admittedly, the AWT had them, too).
>
Test cases for this stuff would be really useful, if you're interested.
But I'm aware that there are lots of focus problems -- it's another area
that I need to take a close look at in the near future.
> * the buttons really should be transparent. This is either a problem with
> image loading or with Button not getting the dark gray background.
>
This deserves another bug report; can you provide a test case too?
Thanks,
Tom