Results 1 to 2 of 2
- 12-09-2011, 09:10 AM #1Member
- Join Date
- Nov 2011
- Rep Power
how to create a gui "wizard like" program?
Hi. I want to create a program which has a loging window. if the user has entered valid login info, everything related to the login window (username password text fields, login button) should be dismissed and a new set of items should appear.
I know how to create the both user interfaces (I use JFrame with JPanel and other controls to create the interface) But my question is how do I make it so that user should feel like he has been going through a wizard as he presses the next button ? (or like html pages?)
(I thought of creating a two different panels and putting loging items in the first panel and then set it to be dismissed and to appear the next panel if valid login data is entered. but don't know whether thats the right way to create this type of programs)
Re: how to create a gui "wizard like" program?
First off, look into using a Swing CardLayout to allow you to swap JPanels/views easily. The tutorials will show you how to do this.
- By drieskn in forum NetBeansReplies: 0Last Post: 03-12-2009, 12:46 PM
- By soc86 in forum New To JavaReplies: 2Last Post: 01-24-2009, 07:56 PM
- By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM
- By carlodelmundo in forum New To JavaReplies: 7Last Post: 09-21-2008, 11:20 AM
- By Shadow22202 in forum Java AppletsReplies: 8Last Post: 04-30-2008, 03:42 AM