Changeset 17545 in josm
- Timestamp:
- 2021-02-28T16:27:26+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r17512 r17545 1043 1043 Logging.log(Logging.LEVEL_ERROR, null, e); 1044 1044 } 1045 } else {1045 } else if (PlatformManager.isPlatformOsx() && Utils.getJavaVersion() < 16) { 1046 1046 // Workaround for JDK-8251377: JTabPanel active tab is unreadable in Big Sur, see #20075 1047 1047 // os.version will return 10.16, or 11.0 depending on environment variable … … 1049 1049 final String laf = UIManager.getLookAndFeel().getID(); 1050 1050 final String macOSVersion = getSystemProperty("os.version"); 1051 if ( PlatformManager.isPlatformOsx() &&(laf.contains("Mac") || laf.contains("Aqua"))1051 if ((laf.contains("Mac") || laf.contains("Aqua")) 1052 1052 && (macOSVersion.startsWith("10.16") || macOSVersion.startsWith("11"))) { 1053 1053 UIManager.put("TabbedPane.foreground", Color.BLACK);
Note:
See TracChangeset
for help on using the changeset viewer.