summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-22 08:06:00 +0100
committerSven Gothel <[email protected]>2023-01-22 08:06:00 +0100
commitf8db4cf0d7133f938b74a0c88047f8db2734e5f5 (patch)
treeb2b3a5f7ebd32e0c56d3832f76ce984d73471d77 /src
parent766b2507ddaf792e9345076e69666032d008b0bd (diff)
SWTAccessor.invokeOnOSTKThread(): Fix comment ..
Diffstat (limited to 'src')
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java b/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java
index bbb58d09e..68b15f714 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java
@@ -790,7 +790,6 @@ public class SWTAccessor {
* <ul>
* <li>Mac OSX
* <ul>
- * <!--li>AWT EDT: In case AWT is available, the AWT EDT is the OSX UI main thread</li-->
* <li><i>Main Thread</i>: Run on OSX UI main thread. 'wait' is implemented on Java site via lock/wait on {@link RunnableTask} to not freeze OSX main thread.</li>
* </ul></li>
* <li>Linux, Windows, ..
@@ -803,7 +802,7 @@ public class SWTAccessor {
*/
public static void invokeOnOSTKThread(final boolean blocking, final Runnable runnable) {
if( isOSX ) {
- // Use SWT main thread! Only reliable config w/ -XStartOnMainThread !?
+ // Use SWT main thread! Only reliable config w/ -XstartOnFirstThread - or - AWT enabled, i.e. `-Djava.awt.headless=false`
OSXUtil.RunOnMainThread(blocking, false, runnable);
} else {
runnable.run();