Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Replies
    3
    Views
    1,807

    Re: adding or removing panels to panels

    Not necessarily, since he's adding the second JPanel to the first. He wants the first one to go away, but setting it to invisible would also cause the second one to become invisible. CardLayout is...
  2. Replies
    3
    Views
    1,807

    Re: adding or removing panels to panels

    Sounds like a job for CardLayout: How to Use CardLayout (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out Components Within a Container)
Results 1 to 2 of 2