Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » project with mixed swing and swt possible (not running at the same time) ???
project with mixed swing and swt possible (not running at the same time) ??? [message #445558] Mon, 08 November 2004 12:43
Eclipse UserFriend
Originally posted by:

Hey all,

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
swt ?

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[1471] 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 java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at java:50)
at Method)
at sun.awt.NativeLibLoader.loadLibraries( 8)
at sun.awt.DebugHelper.<clinit>(
at java.awt.Component.<clinit>(

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

Previous Topic:ComboBoxCellEditor without standard copy&paste-menu
Next Topic:Importing Outlook address book
Goto Forum:

Current Time: Sat Oct 31 08:26:17 GMT 2020

Powered by FUDForum. Page generated in 0.06451 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top