Object src=e.getSource();
if (src==playMidiItem) {
int rCount=scaleTable.getRowCount();
Note[] n=new Note[rCount];
int pit=0;
Note nt;
for (int i=0;i<rCount;i++) {
Object o=scaleTable.getValueAt(i, selectedColumn);
log.debug("Playing: "+o);
nt=(Note)o;
if (nt.getPitch()>=pit) {
pit=nt.getPitch();
} else {
nt.transpose(12);
}
n[i]=nt;
}
MidiThread mt=MidiThread.getInstance();
if (mt==null) {