posted 11 years ago
a lot depends on how the 2nd frame opens - starts at same time as 1st frame?, opens as a result of some action on frame1? etc
if it opens from frame1, and it opens just to get some info for frame1, frame2 should be a JDialog.
it would go something like this