if (isEnabled()) {
super.actionPerformed(event);
}
};
};
startCommandViewer = new Button() {
private static final long serialVersionUID = -679641383339305170L;
@Override
public void actionPerformed(ActionEvent event) {
super.actionPerformed(event);
readDataSpectrumButton.actionPerformed(null);
}
};
}
else {
startCommandViewer = new Button();
}
startCommandViewer.setText("Start");
((JButton) startCommandViewer).setIcon(new ImageIcon(getClass().getResource(
"/org/tango-project/tango-icon-theme/22x22/actions/media-playback-start.png")));
stopCommandViewer = new Button("Abort");
((JButton) stopCommandViewer).setIcon(new ImageIcon(getClass().getResource(
"/org/tango-project/tango-icon-theme/22x22/actions/media-playback-stop.png")));
clearDataCommandViewer = new Button();
clearDataCommandViewer.setText("Clear Data");
((JButton) clearDataCommandViewer).setIcon(new ImageIcon(getClass().getResource(
"/org/tango-project/tango-icon-theme/22x22/places/user-trash.png")));
GridBagConstraints startConstraints2 = new GridBagConstraints();