Need to close only the new popup window
Could anyone please help me with this.
FromMain.java, the main user interface pops up, on clickingvf2vpExebut button,vf2vpExe.java's user interface pops up. After I process thevf2vpExe.java user interface and close it even myMain.java user interface closes.
But on clicking theexitbut invf2vpExe.java, I need to close only thevf2vpExe.java user interface and notMain.java user interface also.
My code is:
Main.java
privatevoid vf2vpExebutActionPerformed(java.awt.event.ActionEvent evt)
{
try
{
vf2vpExe vf=new vf2vpExe();
vf.mainclass();
}
catch(Exception e)
{
}
}
vf2vpExe.java
privatevoid exitbutActionPerformed(java.awt.event.ActionEvent evt)
{
System.exit(0);
}

