0

How to make a JTable cells selectable while they are set non editable. when i doubkle click at the moment its not selecting the cells. while want it to slecet the cell so that can be copied by contorl c .

T J
  • 41,966
  • 13
  • 81
  • 134
user2054151
  • 7
  • 1
  • 11

1 Answers1

1

You may be looking for a way to selectAll() in the cell editor's text component. The approach cited here works for F2 or a MouseEvent.

Community
  • 1
  • 1
trashgod
  • 200,320
  • 28
  • 229
  • 974