Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • don't have two JFrames in the first place! But I would say: make the view frame modal. Commented Aug 18, 2012 at 7:35
  • Why don't you maintain a single reference to the JFrame ? Singleton pattern? Commented Aug 18, 2012 at 7:40
  • 1
    See The Use of Multiple JFrames, Good/Bad Practice? for links to answers with multiple alternatives - including CardLayout and a nested layout (e.g. table in CENTER with details in PAGE_END` of a BorderLayout). Commented Aug 18, 2012 at 7:40