|project with mixed swing and swt possible (not running at the same time) ??? [message #445558]
||Mon, 08 November 2004 12:43
Originally posted by: yvon_thoraval.mac.com|
i've a project with two implementation of a table; one using Swing
JTable, the other SWT Table.
thr swt one works well but the swing, the same swing jtable works well
alone (in a separate project).
Then the question is : could we, in a given project, have both swing and
Notice even they belongs to the same project, they are launched
separately (not at the same time).
The error messahe for the Swing part :
2004-11-04 22:42:27.677 java_swt Apple AWT Java VM was loaded on
first thread -- can't start AWT.
Exception in thread "main" java.lang.InternalError: Can't start the AWT
because Java was started on the first thread. Make sure
StartOnFirstThread is not specified in your application's Info.plist or
on the command line
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction. java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:3 8)
i "think" it's due to a VM arg i use for the swt version :
Because, when i launch this JTable from command line it works well, but
not from eclipse workbench...
In case someone could explain to me this "mistery"...
Powered by FUDForum
. Page generated in 0.06451 seconds