copy paste shortcuts only working with ctrl key in OSX Java application
I created a small application using Netbeans 8.1 on OSX, doing these steps: I created a new JForm using category "Swing GUI forms" I added three menus to it: I added a JDialog with text fields and linked it to the third menu ("TAnalyse"). In this JDialog i need copy / paste functionality for the text fields. The problem is: copy / paste only works in this dialog with "ctrl" + "c","x" or "v" and not with the osx standard "cmd" key. I tried to add the following line of code to the constructor of the JForm but it didn't work: KeyStroke stroke = KeyStroke.getKeyStroke(KeyEvent.VK_C, Toolkit