Mejora JMenuBar para Macos
This commit is contained in:
@@ -4,6 +4,9 @@ import net.h4ckx0r.vista.MainView;
|
|||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
if (System.getProperty("os.name").contains("Mac")) {
|
||||||
|
System.setProperty("apple.laf.useScreenMenuBar", "true");
|
||||||
|
}
|
||||||
MainView.main(args);
|
MainView.main(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user