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
  • 42,762
  • 13
  • 83
  • 138
user2054151
  • 7
  • 1
  • 12

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
  • 203,806
  • 29
  • 246
  • 1,045