The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Cell editor in JTable

Posted by Jan Vettenburg on December 31, 2001 at 7:27 AM

Hi,

I want to use a cell editor in a JTable which will select the whole content of the JTextField at the moment that the cell gets the focus. Due to the complexity of the JTable, I am unclear as to where to put the focuslistener (in the JTable, in it's model, on the textField?).

Can you please provide me with some code?

KR,


Jan



Replies:
  • JTable vijayv January 07, 2002 at 7:28 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us