Almost there... (episode 2)

Tom Tromey tromey@redhat.com
Fri Jul 26 10:14:00 GMT 2002


>>>>> "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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /