Linking the JCheckBox with JScrollBar
posted 15 years ago
I have a JPanel on which 15 JCheckBoxes have been put. I want to put a vertical and horizontal JScrollBar so that i can scroll to the 15th JCheckBox. having 15 check boxes otherwise makes the window too bag. Sample code will be appreciated. I am desperately in need of this code snippet as early as possible.