This discussion is archived
1 Reply Latest reply: Aug 27, 2012 1:48 AM by Jörg RSS

copy selected rows to clipboard from swing jTable

ilkinesrefli Newbie
Currently Being Moderated
Hello, I can copy table rows to clipboard by:
jTable1.getTransferHandler().exportToClipboard(jTable1, getToolkit().getSystemClipboard(), TransferHandler.COPY);
How can I copy only selected rows to clipboard? Please help..

Thanks,

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points