Hi,
I'm using AbstractButtonFinder to find a JButton instance. The button has the text "+" and is located inside a TableCellRenderer for a JTable. My code
[code] final JTable table = ( JTable ) new ComponentFinder( JTable.class ); new AbstractButtonFinder( "\\+" ).find( table , 0 ) [/code]
always produces the result null
As a paranoid programmer I've tested that the AbstractButtonFinder works for instances of JButton with text "+" located inside a JFrame ;-)
Does any one have a clue?
TIA, Daniel
Log in to post a comment.
Hi,
I'm using AbstractButtonFinder to find a JButton instance. The button has the text "+" and is located inside a TableCellRenderer for a JTable. My code
[code]
final JTable table = ( JTable ) new ComponentFinder( JTable.class );
new AbstractButtonFinder( "\\+" ).find( table , 0 )
[/code]
always produces the result null
As a paranoid programmer I've tested that the AbstractButtonFinder works for instances of JButton with text "+" located inside a JFrame ;-)
Does any one have a clue?
TIA, Daniel