Swapping out the center JPanel in a BorderLayout

Posted by derekerdmann on Stack Overflow See other posts from Stack Overflow or by derekerdmann
Published on 2010-04-26T04:05:47Z Indexed on 2010/04/26 4:13 UTC
Read the original article Hit count: 331

Filed under:
|
|
|
|

I have a JPanel sitting inside the center position of a BorderLayout of a JFrame. How can I swap out the current JPanel for a new one?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing