Skip to Main Content

copy selected rows to clipboard from swing jTable

ilkinesrefliAug 24 2012
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,
Comments
Post Details
Added on Aug 24 2012
0 comments
1,007 views