0

What is the best way to create a java application with multiple screens? For example, pressing a button switches to the next screen. Should I use a JFrame for each screen?

Thanks

Metiu
  • 3
  • 2
  • 1
    Define "screen". Window? Actual (full) screen? – Siguza Mar 22 '15 at 12:23
  • 1
    No, use a CardLayout to swap "views". Whatever you do, avoid throwing a bunch of JFrames at the user. Please read [this related question](http://stackoverflow.com/questions/9554636/the-use-of-multiple-jframes-good-bad-practice). – Hovercraft Full Of Eels Mar 22 '15 at 12:25

0 Answers0