What I have done?
-Created 10 JCheckBoxes in JFrame. ex A,B,C,..
-Created 10 JFrames for each JCheckBox as an ex., JFrame A,JFrame B,JFrameC,..
-Created ArrayList for storing values of JCheckBoxes whether it is selected or not.
-Created ArrayList for JFrames and each Frame is added into it.
What I want to do?
After selecting multiple CheckBoxes when I will click on 'next' the first JFrame for the First CHECKED BOX will appear.
Consider Example: I selected the check boxes B,C,F,H after that I will click on 'Next' the JFrame B will appear. Now I will enter data and again I will click on 'next' it will check next selected CheckBox and that JFrame will appear as here C. Then JFrame F & lastly JFrame H.
How should I do these?