|
|||||
JOGL: Newt Multiple Threads & WindowsNewt is capable of handling multiple threads and windows. For best compliance with the underlying OS, one shall create a window, and handle it’s events within the same thread.
Below you see the invocation of the ES2 RedSquare jogl-demos utilizing multiple threads.
The serialization of the main Java class through com.sun.javafx.newt.util.MainThread may be used for all platforms, since it only takes effect on MacOSX. This allows you an almost platform independent invocation of your multithreaded Java applications.
On MacOSX, com.sun.javafx.newt.util.MainThread will occupy the main thread and Comments are closed. |
|||||
|
Copyright © 2010 Sven's Blog - All Rights Reserved |
|||||