AKarandjeff
14 years agoContributor
Determining if table rows are selected
I have a test scenario where I need to check whether or not a Select All button actually selects all of the rows within a JTable (and vice versa that Select None deselects all the rows). JTables do not appear to have a selected row property, so was wondering if anyone had a suggestion on how to do the validation. Would do a region checkpoint, but am concerned that the selected color might change, causing the checkpoint to fail. Thanks.