/[svn]/jsampler/trunk/src/org/jsampler/view/std/JSOrchestraPane.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/std/JSOrchestraPane.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1742 by iliev, Thu May 8 17:26:19 2008 UTC revision 1743 by iliev, Sat May 31 23:04:01 2008 UTC
# Line 90  public class JSOrchestraPane extends JPa Line 90  public class JSOrchestraPane extends JPa
90          public          public
91          JSOrchestraPane(OrchestraModel orchestra) {          JSOrchestraPane(OrchestraModel orchestra) {
92                  instrumentTable = new InstrumentTable();                  instrumentTable = new InstrumentTable();
93                    instrumentTable.setFillsViewportHeight(true);
94                  setOrchestra(orchestra);                  setOrchestra(orchestra);
95                                    
96                  setLayout(new BorderLayout());                  setLayout(new BorderLayout());
# Line 284  public class JSOrchestraPane extends JPa Line 285  public class JSOrchestraPane extends JPa
285                                    
286                  LoadInstrumentAction(SamplerChannelModel model) {                  LoadInstrumentAction(SamplerChannelModel model) {
287                          String s = "instrumentsdb.actions.loadInstrument.onChannel";                          String s = "instrumentsdb.actions.loadInstrument.onChannel";
288                          putValue(Action.NAME, i18n.getMenuLabel(s, model.getChannelId()));                          int i = CC.getSamplerModel().getChannelIndex(model) + 1;
289                            putValue(Action.NAME, i18n.getMenuLabel(s, i));
290                          channelModel = model;                          channelModel = model;
291                  }                  }
292                                    

Legend:
Removed from v.1742  
changed lines
  Added in v.1743

  ViewVC Help
Powered by ViewVC