I have a JFrame that I call from another JFrame like so:
Viewer2D v = new Viewer2D(this);
v.setVisible(true);
v.DrawAssembly(glNameList.get(hitRecs.get(0).getNames()[0]));
I set the exit action to an action listener and call dispose() and both of my JFrames disappear! How do I get only the one I'm working on to close?