Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsConverting AWT Image to SWT Image on a Mac
https://www.eclipse.org/forums/index.php/mv/msg/148201/466235/#msg_466235
images).
I get this error:
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
(I am running with -Djava.awt.headless=true)
Anyone seen this?
Thanks]]>Mark McLaren2006-01-05T07:31:01-00:00Re: Converting AWT Image to SWT Image on a Mac
https://www.eclipse.org/forums/index.php/mv/msg/148201/466238/#msg_466238
prior to OSX 10.4, you will have to upgrade to Tiger.
With Java 1.5 on MacOSX 10.4 or higher SWT is recognised and that system
property is set automaticly. (Java 1.4 on 10.4 still reqires you to set
the system property manually however)
Yves
Mark McLaren wrote:
> I'm trying to run Snippet156 on OS X 10.3.9 (Convert between SWT and AWT
> images).
>
> I get this error:
> 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
>
> (I am running with -Djava.awt.headless=true)
>
> Anyone seen this?
>
> Thanks
>
>
>
>
>]]>Yves Harms2006-01-05T10:06:23-00:00