This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Almost there... (episode 2)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]