I want to make a paste from the system clipboard in java. How would I do this?
You could use the robot class like this
try { Robot r = new Robot(); r.keyPress(KeyEvent.VK_CONTROL); r.keyPress(KeyEvent.VK_V); r.keyRelease(KeyEvent.VK_CONTROL); r.keyRelease(KeyEvent.VK_V); } catch(Exception e) { }