Beispiel #1
0
 private void loadSequence() {
   if (isSecuenceSet()) {
     this.builder.getController().loadInstrument(sequence.getInstrument());
     this.play.setEnabled(true);
   } else {
     this.play.setEnabled(false);
   }
   updateFileName();
 }
Beispiel #2
0
 private void updateFileName() {
   this.pane.remove(this.fileName);
   this.fileName =
       isSecuenceSet() ? new JLabel(sequence.getName()) : new JLabel("No sequence loaded");
   this.pane.add(this.fileName);
 }