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(); |
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(); |