public void actionPerformed(ActionEvent event) {

        String command = event.getActionCommand();
        if (command.equals("GENOTYPE_XX")) {
            adjustDataSeries(0);
        }
        else if (command.equals("GENOTYPE_UNKNOWN")) {
            adjustDataSeries(1);
        }
        else if (command.equals("GENOTYPE_XY")) {
            adjustDataSeries(2);
        }
        else if (command.equals("GENOTYPE_YY")) {
            adjustDataSeries(3);
        }
        else if (command.equals(ZOOM_ENABLE_COMMAND)) {
            plotPanel.theGenoplot.setMouseMode(MouseMode.ZOOM);
        }
        else if (command.equals(LASSO_SELECT_ENABLE_COMMAND)) {
            plotPanel.theGenoplot.setMouseMode(MouseMode.LASSO);
        }
        else {
            super.actionPerformed(event);
        }

    }