I am calling ABC jINternalFrame from XYZ jInternalFrame in SWING.
But When I call ABC I am losing XYZcontrol
What I want is
-On XYZ user selects option to load product data
-IF mismatch found XYZ calls ABC
-In ABC -user correct mismatch and closes ABC frame
Now I want my program should continue from where it called ABC
Currently It calls ABC and XYZ get executed How I can achieve this ? And I am using below code
if (frmUpdateData == null || frmUpdateData.isClosed()){
frmUpdateData = new FrmUpdateData();
JDesktopPane desktopPane = getDesktopPane();
desktopPane.add(frmUpdateData);
frmUpdateData.setVisible(true);
frmUpdateData.setLocation(this.getWidth()/2- frmUpdateData.getWidth()/2, this.getHeight()/2-frmUpdateData.getHeight()/2);
}