@Override
    public void mouseClicked(MouseEvent e) {
        JButton but = (JButton) e.getSource();
        switch (but.getName()) {
            case "Live":
                System.out.println("live");
                break;
            case "Init":
                System.out.println("init");
                break;
            case "Next":
                System.out.println("next");
                break;
            case "Prec":
                System.out.println("prec");
                break;
        }
    }