I'm working on Java Swing List
and I wanna select all its values or items with the use of jCheckBox
. I tried searching some answer on google and I could hardly find any.
I hope I can get answers from here.
Thanks.
EDIT:
In my swing list, I have these items for example:
Item 1
Item 2
Item 3
and I have a checkbox label as 'Select All
'.
So what I want is when my checkbox is selected/checked, All the items in the swing list will be selected at once.