Martin Vajsar wrote:JTable supports copying selected cells to the clipboard out of the box.
That's true -- and when I tried it on a JTable displayed from some of my code I found that Ctrl-C resulted in a whole row being selected. That's because row selection is the default for JTable. It's possible to configure a JTable so that individual cells are selected, but I didn't try doing that.