• Post Reply Bookmark Topic Watch Topic
  • New Topic

Wizard - How to ?

 
James Ward
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to create a Wizard in my swing application.
Previous buttons should bring back the earlier screens with the data.
At the end of the wizard i should be able to get the data entered by the user in the screens.
I have to create several of these wizards.
Does anyone know of code snippet or some approach that can be used to create this in a generic manner.
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
take a look at the CardLayout in Swing (see the Swing tutorial), and the StateMachine pattern.
Chantal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!