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

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

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

revision 1356 by iliev, Sun Sep 16 23:24:15 2007 UTC revision 1357 by iliev, Sat Sep 22 17:27:06 2007 UTC
# Line 92  public class JSInstrumentChooser extends Line 92  public class JSInstrumentChooser extends
92          private final JComboBox cbInstruments = new JComboBox();          private final JComboBox cbInstruments = new JComboBox();
93                    
94                    
95          private final JComboBox cbDbInstrument = new JComboBox();          private final JComboBox cbDbInstrument = createComboBox();
96          private final JButton btnBrowseDb;          private final JButton btnBrowseDb;
97                    
98          private final JLabel lFilename = new JLabel(i18n.getLabel("JSInstrumentChooser.lFilename"));          private final JLabel lFilename = new JLabel(i18n.getLabel("JSInstrumentChooser.lFilename"));
99          private final JLabel lIndex = new JLabel(i18n.getLabel("JSInstrumentChooser.lIndex"));          private final JLabel lIndex = new JLabel(i18n.getLabel("JSInstrumentChooser.lIndex"));
100                    
101          private final JComboBox cbFilename = new JComboBox();          private final JComboBox cbFilename = createComboBox();
102          private final JSpinner spinnerIndex = new JSpinner(new SpinnerNumberModel(0, 0, 500, 1));          private final JSpinner spinnerIndex = new JSpinner(new SpinnerNumberModel(0, 0, 500, 1));
103                    
104          private final JButton btnBrowse;          private final JButton btnBrowse;
# Line 280  public class JSInstrumentChooser extends Line 280  public class JSInstrumentChooser extends
280                  return p;                  return p;
281          }          }
282                    
283            protected JComboBox
284            createComboBox() { return new JComboBox(); }
285            
286          protected JSPrefs          protected JSPrefs
287          preferences() { return CC.getViewConfig().preferences(); }          preferences() { return CC.getViewConfig().preferences(); }
288                    

Legend:
Removed from v.1356  
changed lines
  Added in v.1357

  ViewVC Help
Powered by ViewVC