Saya memiliki ikatan kunci berikut: InputMap iMap = component.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW); ActionMap aMap = component.getActionMap(); iMap.put(KeyStroke.getKeyStroke("shift LEFT"), "MOVE_LONG_LEFT"); iMap.put(KeyStroke.getKeyStroke("LEFT"), "MOVE_LEFT"); a....
28 November 2020, 21:02