?
Solved

Opening new windows

Posted on 2005-02-24
3
Medium Priority
?
227 Views
Last Modified: 2010-03-31
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
Comment
Question by:Chisel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 300 total points
ID: 13392478
You'd be better off with a JTabbedPane or a CardLayout
0
 

Author Comment

by:Chisel
ID: 13392900
Ok, thanks. I'm going with a JTabbedPane option.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 13395115
:-)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question