I have created an Eclipse plugin that adds a button at the menu bar and when you click the button a new Java GUI applications is starting(the application was implemented with the support of awt and swing library frameworks). My problem is that when i am closing the Java GUI application(click the "X" icon at up-right) then the Eclipse framework also stops and the process is stopped. That's the code below where i call the Java GUI application to start from my menuhandler:
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new atag.gui.MainFrame().setVisible(true);
}
});
I coded the GUI with Netbeans Frames tool.
Do you have any recommendations or how i can fix that? Thanks