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

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

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

revision 1877 by iliev, Sat Mar 14 20:44:58 2009 UTC revision 1878 by iliev, Sat Mar 28 13:39:02 2009 UTC
# Line 32  import java.awt.event.KeyEvent; Line 32  import java.awt.event.KeyEvent;
32  import java.awt.event.WindowAdapter;  import java.awt.event.WindowAdapter;
33  import java.awt.event.WindowEvent;  import java.awt.event.WindowEvent;
34    
 import java.util.logging.Level;  
   
35  import javax.swing.AbstractAction;  import javax.swing.AbstractAction;
36  import javax.swing.Action;  import javax.swing.Action;
37  import javax.swing.JComponent;  import javax.swing.JComponent;
# Line 96  public class InstrumentsDbFrame extends Line 94  public class InstrumentsDbFrame extends
94          InstrumentsDbFrame() {          InstrumentsDbFrame() {
95                  setTitle(i18n.getLabel("InstrumentsDbFrame.title"));                  setTitle(i18n.getLabel("InstrumentsDbFrame.title"));
96                  if(Res.iconAppIcon != null) setIconImage(Res.iconAppIcon.getImage());                  if(Res.iconAppIcon != null) setIconImage(Res.iconAppIcon.getImage());
97    
98                    ((ViewConfig)CC.getViewConfig()).restoreMenuProperties();
99                                    
100                  instrumentsDbTree = new FantasiaInstrumentsDbTree(CC.getInstrumentsDbTreeModel());                  instrumentsDbTree = new FantasiaInstrumentsDbTree(CC.getInstrumentsDbTreeModel());
101                                    
# Line 117  public class InstrumentsDbFrame extends Line 117  public class InstrumentsDbFrame extends
117                  splitPane.setDividerSize(3);                  splitPane.setDividerSize(3);
118                  splitPane.setDividerLocation(200);                  splitPane.setDividerLocation(200);
119                                    
120                    // fix for moving the menu bar on top of the screen
121                    // when running on Mac OS and third party plugin is used
122                    ((ViewConfig)CC.getViewConfig()).setNativeMenuProperties();
123    
124                  addMenu();                  addMenu();
125                                    
126                  pack();                  pack();

Legend:
Removed from v.1877  
changed lines
  Added in v.1878

  ViewVC Help
Powered by ViewVC