• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to perform this design?  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, I want to develope a Swing application, when the user launch the program, he will see some text fields to fill, then when he pressed Next button this frame must disappear, and he will saw another form.
(like wizards).
How to perform this application??
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of the time, in a wizard you get to go back and forth to the different panes. JTabbedPane can be used for this without any extra work, or, for a little more effort, you can use CardLayout to overlap multiple JPanels inside a container, showing only one at a time.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!