@@ -0,0 +1,924 @@
+/**%0A * Created by traweeka18 on 10/28/2016.%0A */%0Aimport javax.swing.*;%0A        import java.awt.*;%0A        import java.awt.event.*;%0A%0Apublic class KeyBinding extends JPanel%7B%0A    public KeyBinding() %7B%0A        CutAction action = new CutAction();%0A        String keyStrokeAndKey = %22control Z%22;%0A        KeyStroke keyStroke = KeyStroke.getKeyStroke(keyStrokeAndKey);%0A        getInputMap().put(keyStroke, keyStrokeAndKey);%0A        getActionMap().put(keyStrokeAndKey, action);%0A    %7D%0A%0A    public class CutAction extends AbstractAction%7B%0A        public void actionPerformed(ActionEvent e)%7B%0A            System.out.println(%22Cut cut cut%22);%0A        %7D%0A    %7D%0A%0A    public static void main(String%5B%5D args)%7B%0A        KeyBinding bind = new KeyBinding();%0A        JFrame frame = new JFrame();%0A        frame.add(bind);%0A        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A        frame.setSize(600,600);%0A        frame.setVisible(true);%0A    %7D%0A%7D%0A

Create KeyBinding.java