package InputFocus; import javax.swing.JFrame; public class ActionTest { public static void main(String[] args) { ActionFrame frame = new ActionFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } }