Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Change Panels with Radio Buttons

$
0
0
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.

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>