<@U25U0KPFT> Could you help me with a question?
# tornadofx
m
@carlw Could you help me with a question?
I use exemple
public class SwingApp { private static void createAndShowGUI() { // initialize toolkit JFXPanel wrapper = new JFXPanel(); // Init TornadoFX Application Platform.runLater(() -> { Stage stage = new Stage(); MyApp app = new MyApp(); app.start(stage); }); } public static void main(String[] args) { SwingUtilities.invokeLater(SwingApp::createAndShowGUI); } }
The problem happens when I start the application the second time, it just does not open the TornadoFX application
I created a clone button in the TornadoFX application, with action { Platform.setImplicitExit(false) Platform.exit()}
c
how are you starting this? from an IDE or the command line?
m
Intelij
c
have you seen this video?

https://www.youtube.com/watch?v=1cobvRlRHic

m
You have repository code?
c
checking
it's not on this computer. i'll keep an eye our for it and send you a zip if i find it
m
thanks