Not really sure how to word the title with out making it a paragraph long.
Basically I have a JTable
in my program that I can't let the users edit. But the program must be able to edit it itself. Futhermore, the user must be allowed to actually select and copy text from the cells in the table, just not edit it.
How can I achieve this? Preferably a generic solution so it can be applied to multiple tables within my program with different layouts etc.