Print out threads on initialization of components
This commit is contained in:
parent
27b33e346e
commit
e7dd8f167e
1 changed files with 2 additions and 0 deletions
|
@ -15,11 +15,13 @@ public class Launcher {
|
|||
}
|
||||
|
||||
new Window();
|
||||
System.out.println("Window created on " + Thread.currentThread());
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
System.setProperty("sun.java2d.opengl", "true");
|
||||
|
||||
SwingUtilities.invokeLater(() -> new Launcher());
|
||||
System.out.println("Main created on " + Thread.currentThread());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue