public void actionPerformed(ActionEvent event) {
	String a = event.getActionCommand();

	if (a.equals(UI.PRINT)) DoPrint();
	else if (a.equals(UI.CHAN1)) SetPanels(1);
	else if (a.equals(UI.CHAN2)) SetPanels(2);
	else if (a.equals(UI.CHAN4)) SetPanels(4);
	else if (a.equals(UI.CHAN8)) SetPanels(8);
	else if (a.equals(UI.CHAN16)) SetPanels(16);
	else if (a.equals("+")) {
	    hzoom -= 1;
	    DoPlot();
	}
	else if (a.equals("-")) {
	    hzoom += 1;
	    DoPlot();
	}
	else if (a.equals("@")) {
	    hzoom = 0;
	    xorigin = xmin;
	    DoPlot();
	}
    }