@Action
    public void actionExit() {
        int n;

        n = JOptionPane.showConfirmDialog(new JFrame(), "Are you sure you want to exit?", "Attention!", JOptionPane.ERROR_MESSAGE, JOptionPane.YES_NO_OPTION);
        if (n == 0) {
            System.exit(0);
        }
    }