package application.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; public class ExitAction extends AbstractAction { /** * */ private static final long serialVersionUID = -8733766417378036850L; public ExitAction() { super("Exit"); } @Override public void actionPerformed(ActionEvent e) { System.exit(0); } }