Forum Stats

  • 3,840,394 Users
  • 2,262,599 Discussions
  • 7,901,262 Comments

Discussions

copy selected rows to clipboard from swing jTable

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,
Tagged:
This discussion has been closed.