How u setup JScrollPane so it's dimension is not changed when add component
I have to add JCheckBoxes to JScrollPane. To add JCheckBoxes to JScrollPane, I have
a JPanel. I am adding JCheckBoxes to JPanel and JPanel is added to JScrollPane.
Problem is when I add less than 4 JChecksBoxes to JPanel, JScrollPane gets bigger than
its defined size. Does someone know what could be wrong?
Thanks
Amit

