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

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

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

revision 1864 by iliev, Sat Mar 14 20:44:58 2009 UTC revision 1865 by iliev, Sun Mar 15 14:33:48 2009 UTC
# Line 58  public class ViewConfig extends JSViewCo Line 58  public class ViewConfig extends JSViewCo
58          public          public
59          ViewConfig() {          ViewConfig() {
60                  try {                  try {
61                          if(CC.isMacOS()) {                          if(isUsingScreenMenuBar()) {
62                                  // fix for setting the menu bar on top of the screen                                  // fix for setting the menu bar on top of the screen
63                                  UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());                                  UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
64                                  nativeMenuPropsMap = getMenuProperties();                                  nativeMenuPropsMap = getMenuProperties();
# Line 71  public class ViewConfig extends JSViewCo Line 71  public class ViewConfig extends JSViewCo
71                                  SubstanceConstants.TabContentPaneBorderKind.SINGLE_FULL                                  SubstanceConstants.TabContentPaneBorderKind.SINGLE_FULL
72                          );                          );
73    
74                          if(CC.isMacOS()) {                          if(isUsingScreenMenuBar()) {
75                                  // fix for setting the menu bar on top of the screen                                  // fix for setting the menu bar on top of the screen
76                                  menuPropsMap = getMenuProperties();                                  menuPropsMap = getMenuProperties();
77                                  setNativeMenuProperties();                                  setNativeMenuProperties();

Legend:
Removed from v.1864  
changed lines
  Added in v.1865

  ViewVC Help
Powered by ViewVC