201202203204205206207208209210211
rtf.setUpperBoundTreble((Integer)upperBoundTreble.getValue()); rtf.setNoteCount((Integer)numberSpinner.getValue()); Scale s=new Scale((NoteName)scaleBox.getSelectedItem()); rtf.setScale(s); rtf.flushEvents(); } @Override public void rejectData() { }