Open bumfo opened 2 years ago
However, if a delay is added before setVisible(true) of the main window, everything works fine.
Edit: Below is a minimal workaround. Not sure why.
App.start(() -> {
Window window = App.makeWindow();
new Thread(() -> {
App.runOnUIThread(() -> {
window.setVisible(true);
});
}).start();
});
Thanks for reporting!
If you start the app from an full screen app, e.g. Intellij IDEA, then the main window is shown inside the fullscreen space, instead of shown in desktop space as normal.
The behavior is correct in 0.3.x, when using App.init() and App.start() separately.