Print out threads on initialization of components

This commit is contained in:
Sebastian Cabrera 2023-12-14 07:49:15 -05:00
parent 27b33e346e
commit e7dd8f167e

View file

@ -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());
}
}