@Override public void actionPerformedImpl(ActionEvent e, RTextArea textArea) { Window owner = SwingUtilities.getWindowAncestor(textArea); ClipboardHistoryPopup popup = new ClipboardHistoryPopup(owner, textArea); popup.setContents(clipboardHistory.getHistory()); popup.setVisible(true); }
@Override public void actionPerformedImpl(ActionEvent e, RTextArea textArea) { Window owner = SwingUtilities.getWindowAncestor(textArea); ClipboardHistoryPopup popup = new ClipboardHistoryPopup(owner, textArea); popup.setContents(clipboardHistory.getHistory()); popup.setVisible(true); }