Results 1 to 2 of 2
  1. #1
    dacoolest is offline Member
    Join Date
    Nov 2011
    Posts
    13
    Rep Power
    0

    Question 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)

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default 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.

Similar Threads

  1. Where is the "Create Data Source Dialog Box"
    By drieskn in forum NetBeans
    Replies: 0
    Last Post: 03-12-2009, 12:46 PM
  2. Replies: 2
    Last Post: 01-24-2009, 07:56 PM
  3. Replies: 1
    Last Post: 10-20-2008, 08:35 AM
  4. Using for loops to create a "bridge" made out of hyphens
    By carlodelmundo in forum New To Java
    Replies: 7
    Last Post: 09-21-2008, 12:20 PM
  5. "Jumble" or "Scramble" Program
    By Shadow22202 in forum Java Applets
    Replies: 8
    Last Post: 04-30-2008, 04:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •