Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

Opening new windows

Hi,
   I am trying to set up a series of windoes linked by buttons, but can't for the life of me remeber how to open a new window thats part of a seperate class.

I have a class AdminMenu() for example, with a constructor methoed to draw the buttons. I have action listneres on the buttons, and want it setup, so when clicking on the Members button, it will open the window code in a seperate MemberMenu() class.

Thanks in advance,
                           Chris
0
Chisel
Asked:
Chisel
  • 2
1 Solution
 
CEHJCommented:
You'd be better off with a JTabbedPane or a CardLayout
0
 
ChiselAuthor Commented:
Ok, thanks. I'm going with a JTabbedPane option.
0
 
CEHJCommented:
:-)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now