[java-dev] Re: Running a Jar executable
Owen Green
owen at owengreen.net
Mon Feb 4 18:42:34 MST 2008
- Previous message: [java-dev] Re: Running a Jar executable
- Next message: [java-dev] newDefault() doesn't work for GUI objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Adam & Benjamin, If the Swing stuff is to run in the same JVM as mxj, on OS X, then it has to be invokeLater() every time, due to bad cocoa-carbon mojo. So, Benjamin, if your original code doesn't do that, you'll either need to use Runtime.exec() or change it. -- Owen Adam Murray wrote: > I haven't coded in Swing in a while, but I believe you should always > use invokeLater or invokeAndWait. Sun's tutorials have more info: > http://java.sun.com/docs/books/tutorial/uiswing/concurrency/initial.html > You only need to worry about this for the actual Swing code, not the > exec call.
- Previous message: [java-dev] Re: Running a Jar executable
- Next message: [java-dev] newDefault() doesn't work for GUI objects
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
