/[svn]/jsampler/trunk/src/org/jsampler/view/fantasia/PrefsDlg.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/fantasia/PrefsDlg.java

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

revision 1728 by iliev, Thu Feb 14 16:52:36 2008 UTC revision 1729 by iliev, Tue Apr 29 22:22:40 2008 UTC
# Line 250  class ViewPane extends JPanel { Line 250  class ViewPane extends JPanel {
250          private final JCheckBox checkTurnOffCustomWindowDecoration =          private final JCheckBox checkTurnOffCustomWindowDecoration =
251                  new JCheckBox(i18n.getLabel("ViewPane.checkTurnOffCustomWindowDecoration"));                  new JCheckBox(i18n.getLabel("ViewPane.checkTurnOffCustomWindowDecoration"));
252                    
253            private final JCheckBox checkShowInstrumentsDb =
254                    new JCheckBox(i18n.getLabel("ViewPane.checkShowInstrumentsDb"));
255            
256          private final JSViewProps.MidiDevicesPane midiDevsPane = new JSViewProps.MidiDevicesPane();          private final JSViewProps.MidiDevicesPane midiDevsPane = new JSViewProps.MidiDevicesPane();
257          private final JSViewProps.AudioDevicesPane audioDevsPane = new JSViewProps.AudioDevicesPane();          private final JSViewProps.AudioDevicesPane audioDevsPane = new JSViewProps.AudioDevicesPane();
258                    
# Line 264  class ViewPane extends JPanel { Line 267  class ViewPane extends JPanel {
267                  checkTurnOffCustomWindowDecoration.setAlignmentX(JPanel.LEFT_ALIGNMENT);                  checkTurnOffCustomWindowDecoration.setAlignmentX(JPanel.LEFT_ALIGNMENT);
268                  add(checkTurnOffCustomWindowDecoration);                  add(checkTurnOffCustomWindowDecoration);
269                  add(Box.createRigidArea(new Dimension(0, 6)));                  add(Box.createRigidArea(new Dimension(0, 6)));
270                    
271                    b = preferences().getBoolProperty("rightSidePane.showInstrumentsDb");
272                    checkShowInstrumentsDb.setSelected(b);
273                    checkShowInstrumentsDb.setAlignmentX(JPanel.LEFT_ALIGNMENT);
274                    add(checkShowInstrumentsDb);
275                    add(Box.createRigidArea(new Dimension(0, 6)));
276                    
277                  add(midiDevsPane);                  add(midiDevsPane);
278                  add(audioDevsPane);                  add(audioDevsPane);
279                  add(confirmationMessagesPane);                  add(confirmationMessagesPane);
# Line 274  class ViewPane extends JPanel { Line 284  class ViewPane extends JPanel {
284                  String s = "TurnOffCustomWindowDecoration";                  String s = "TurnOffCustomWindowDecoration";
285                  preferences().setBoolProperty(s, checkTurnOffCustomWindowDecoration.isSelected());                  preferences().setBoolProperty(s, checkTurnOffCustomWindowDecoration.isSelected());
286                                    
287                    s = "rightSidePane.showInstrumentsDb";
288                    preferences().setBoolProperty(s, checkShowInstrumentsDb.isSelected());
289                    
290                  midiDevsPane.apply();                  midiDevsPane.apply();
291                  audioDevsPane.apply();                  audioDevsPane.apply();
292                  confirmationMessagesPane.apply();                  confirmationMessagesPane.apply();

Legend:
Removed from v.1728  
changed lines
  Added in v.1729

  ViewVC Help
Powered by ViewVC