Hello everyone!
I'm quite new at processing and I'm having an issue with closing windows and the G4P Tool. I've created a main window from where I want to choose a set of parameters to configure (checkbox). So far, I've managed to create the main window and the other windows for parameter configuration. This other set of windows is closing when I press the X button (Windows OS close). But I can't seem to keep that behavior going. If I try to repeat the close action, after opening and closing a first time, the window.setActionOnClose(window.CLOSE_WINDOW) doesn't work anymore. I was thinking that the best option would be to create the second window set only after making the selection on the main window but fiddling with the createGUI() function is not an option (every change on the GUI Builder will revert my changes) I've attached the files here: http://we.tl/ejQjB64Gmr
Can anyone help? Thanks!