title: Java swing GUI once checkbox selected
body: <p>Reeeealy need your help on java. I hava a frame1.java for three checkboxs and each of one correspond a JPanel in frame2.java. The panels will display in frame2 is determined by checkbox you selected in frame1. How to write the code? thanks.</p>