there are some google hits for "startonfirstthread" For example: http://lists.apple.com/archives/Java-dev/2005/Jul/msg00450.html
Bob John Crabtree wrote: > Bob, > > Thanks for the tip. > > It works fine from the command line with jmol 10.2 binary, but when I > run within eclipse I get the finger painting. I built the Jmol.jar > from the latest svn source and that seemed to do the trick (on Windows > anyway). > > On my Mac, I can run the Integration.java directly from svn, but when > I run it from my project (which uses SWT), I get: > > 2006-10-15 21:38:28.995 java[5161] 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(ClassLoader.java:1586) > > I'm going to continue development with Windows, but if someone knows > how to get around this on Mac OSX ( 10.3.9 running jdk 1.4), I would > appreciate it. > > John > > -- > > > On 10/15/06, *Bob Hanson* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > John, I note that jmol/examples/Integration.java compiles and runs > for > me on my Windows machine without any problem using: > > cd Jmol\examples\basic > javac -classpath ../../build/jmol.jar Integration.java > java -cp .;../../build/Jmol.jar Integration > > I don't see the effect you are talking about. I suspect you are using > old Jar files. > > Bob Hanson > > > John Crabtree wrote: > > > I am trying to integrate Jmol into my java app. > > > > I have tried Integration.java and another simple SWT/Swing > integration > > class. > > > > Both give me "trails" when I rotate the molecule. How do I get > rid of > > this?? > > > > TIA, > > > > John > > > >------------------------------------------------------------------------ > > > > >------------------------------------------------------------------------- > >Using Tomcat but need to do more? Need to support web services, > security? > >Get stuff done quickly with pre-integrated technology to make > your job easier > >Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >Jmol-users mailing list > > [email protected] > <mailto:[email protected]> > >https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >------------------------------------------------------------------------ > >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

