}
// ActionListener
public void actionPerformed(ActionEvent e) {
Object src=e.getSource();
boolean enState=enCheck.isSelected();
Chord c;
if (quadChordCheck.isSelected()) {
c=new Chord((NoteName)c1b.getSelectedItem(),
(NoteName)c2b.getSelectedItem(),
(NoteName)c3b.getSelectedItem(),
(NoteName)c4b.getSelectedItem());
} else {
c=new Chord((NoteName)c1b.getSelectedItem(),
(NoteName)c2b.getSelectedItem(),
(NoteName)c3b.getSelectedItem());
}
if (lastSelection==null) {