JESS: Problems with SWT_AWT in Eclipse on MacOS X

2005-12-09 Thread Dona Mommsen

Hi,

I'm a newbie to Eclipse and GUI programming, so apologies if this is 
'old stuff' for you.


I tried the simple example from JiA p. 204


(import javax.swing.*)
(import java.awt.*)
(import java.awt.event.*)

(new JButton Example Button)


On MacOS X, Eclipse will crash with error:

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 didn' t follow the issue, but apparently the combination of SWT_AWT 
is an issue on Mac OS X, and hence for Eclipse


http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg19210.html
https://bugs.eclipse.org/bugs/show_bug.cgi?id=67384

Dona


To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]




Re: JESS: Problems with SWT_AWT in Eclipse on MacOS X

2005-12-09 Thread ejfried
I think Dona Mommsen wrote:

 On MacOS X, Eclipse will crash with error:
 
  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
 

Yes, I can reproduce this on my Powerbook. There is an excellent
workaround that could be implemented, and in fact it's not really a
workaround but a better way of doing things which would improve other
parts of the JessDE as well -- but it's a chunk of work that probably
won't be done for Charlemagne.

As an alternative, I could offer the option to disable validating Java
class names, and then have validation turned off for Macs.



-
Ernest Friedman-Hill  
Advanced Software Research  Phone: (925) 294-2154
Sandia National LabsFAX:   (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov


To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]