313314315316317318319320321322323
"Copy to clipboard"); copyToClipboard .addActionListener(new ActionListener() { public void actionPerformed( ActionEvent e) { textArea .selectAll(); TransferHandler .getCopyAction() .actionPerformed( new ActionEvent(
222223224225226227228229230231232
Logger.log(stringFile, 4); } else { final JTextArea myTempArea = new JTextArea(stringFile); myTempArea.selectAll(); myTempArea.copy(); } } // actionPerformed });
218219220221222223224225226227228
selectionBuffer.append('\n'); } final JTextArea myTempArea = new JTextArea(); myTempArea.setText(selectionBuffer.toString()); myTempArea.selectAll(); myTempArea.copy(); } });
712713714715716717718719720721722
selectionBuffer.append('\n'); } final JTextArea myTempArea = new JTextArea(); myTempArea.setText(selectionBuffer.toString()); myTempArea.selectAll(); myTempArea.copy(); // area.removeRowSelectionInterval(0, area.getRowCount() - 1 ); } });
330331332333334335336337338339340
selectionBuffer.append("\n"); } final JTextArea myTempArea = new JTextArea(); myTempArea.setText(selectionBuffer.toString()); myTempArea.selectAll(); myTempArea.copy(); // area.removeRowSelectionInterval(0, area.getRowCount() - 1 ); } });
7980818283848586878889
selectionBuffer.append("\n"); } final JTextArea myTempArea = new JTextArea(); myTempArea.setText(selectionBuffer.toString()); myTempArea.selectAll(); myTempArea.copy(); table.removeRowSelectionInterval(0, table.getRowCount() - 1); }