I have implemented an eclipse plugin that it launches a java application when the user clicks at a button.The bug is that the java application stops(the user clicks the exit button) the whole eclipse framework stops working. Here is the code i am using to launch the java code.
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new atag.gui.MainFrame().setVisible(true);
}
});
the Mainframe is a class that implements Jframe and it is inside a library