Hi everyone! I am doing a project right now and for part of it, I need to change what JPanel is visible when I click on a different radio button. I am having a lot of trouble figuring out how to do this. Do I need to use te Card Layout? If somebody could provide a pseudocode for me, it would be really, really awesome! Thank you so much in advance! Just to clear it up, when I have one radio button pressed, it needs to show one panel, and when you click the other one, it should show a different panel.
↧