This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Almost there... (episode 2)
- From: Tom Tromey <tromey at redhat dot com>
- To: Norman Hendrich <hendrich at informatik dot uni-hamburg dot de>
- Cc: java at gcc dot gnu dot org
- Date: 26 Jul 2002 11:18:56 -0600
- Subject: Re: Almost there... (episode 2)
- References: <200207261039.g6QAdc4Z025518@rzdspc1.informatik.uni-hamburg.de>
- Reply-to: tromey at redhat dot com
>>>>> "Norman" == Norman Hendrich <hendrich@informatik.uni-hamburg.de> writes:
Norman> "cannot load AWT Toolkit: gnu.java.awt.peer.gtk.GtkToolkit"
Norman> ... <stack trace deleted>
Norman> Obviously, I forgot about static object initialization... I
Norman> am still confident that I don't actually need any windows,
Norman> just Toolkit and perhaps some Font initialization.
I think the simplest thing to do is to write your own Toolkit which
throws an exception for each method. Then you can set the awt.toolkit
property to point to this toolkit.
Norman> I seem to remember that there was some magic involved to
Norman> getting either the gtk or the Xlib peers built.
Can it even be done? I don't remember the last time I tried it.
Tom