I made an app with a JMenu and JTextPane and I'd like to make a copy / paste function
So I wrote the following code :
if (JTextPane1.getSelectedText() != null)
StringSelection lStringSelection = new StringSelection(JTextPane1.getSelectedText());
Clipboard lClipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
I works very well on winnt but nothing happens on unix : I am currently using an emulator software to access to the unix machine
My question is :
How can I do copy/paste on unix with java ?