Hi all,
I have created a simple class that extends DefaultCellEditor (see below), but it appears that shouldSelectCell() is not working - the cell's contents do not get selected.
Advice much appreciated!!
class PaymentCellEditor extends javax.swing.DefaultCellEditor {
public PaymentCellEditor(javax.swing.JTextField textField){
super(textField);
clickCountToStart = 1;
}
public boolean shouldSelectCell(java.util.EventObject anEvent) {
return true;
}
}
I have created a simple class that extends DefaultCellEditor (see below), but it appears that shouldSelectCell() is not working - the cell's contents do not get selected.
Advice much appreciated!!
class PaymentCellEditor extends javax.swing.DefaultCellEditor {
public PaymentCellEditor(javax.swing.JTextField textField){
super(textField);
clickCountToStart = 1;
}
public boolean shouldSelectCell(java.util.EventObject anEvent) {
return true;
}
}