Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to select all texts in a table cell by one click?

963782Aug 25 2013 — edited Aug 28 2013

How to select all texts in a table cell by one click? I use TextField.selectAll() when implementing a table cell factory. But when I select a row by one click, then again one click on a table cell: See the result image

The text in table cell is not all selected. What I want is simply selecting all the text in a table cell when there is one click on it. How to realize that? Thanks

This post has been answered by 963782 on Aug 28 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2013
Added on Aug 25 2013
1 comment
283 views