}
else if (ev.getSource().equals(offMode))
{
analyzer.setDisplayMode(SpectrumTimeAnalyzer.DISPLAY_MODE_OFF);
analyzer.closeDSP();
analyzer.repaint();
}
else if (ev.getSource().equals(peaksBox))
{
if (peaksBox.isSelected()) analyzer.setPeaksEnabled(true);
else analyzer.setPeaksEnabled(false);