Override the getTableCellEditorComponent method to do the following

{
        Component component = super.getTab;leCellEditorComponent(...)
        if (component instanceof JTextComponent)
        {
                ((JTextComponent)component).selectAll();
        }
        return component;
}

-----Original Message-----
From: Jose H. Reyes Reina [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 2:27 PM
To: [EMAIL PROTECTED]
Subject: Pleas help me With JTABLE


HI!

Can someone please tell me why my the values in my cells don't get over
written when I start typing?
Instead the cell values get appended.  How can I change this?

Jose

MUCHAS Thanks

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to