Package com.explodingpixels.macwidgets
Class MacUtils
java.lang.Object
com.explodingpixels.macwidgets.MacUtils
A collection of utilities related to the Mac.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
makeWindowLeopardStyle
(JRootPane rootPane) Makes this window a Unified window on Mac OS X Leopard or greater systems.static boolean
true
if the Unified Tool Bar, Preference Tool Bar or Bottom Bar backgrounds should be manually painted in code, rather than letting Mac OS X do the painting.
-
Constructor Details
-
MacUtils
public MacUtils()
-
-
Method Details
-
makeWindowLeopardStyle
Makes this window a Unified window on Mac OS X Leopard or greater systems.- Parameters:
rootPane
-
-
shouldManuallyPaintTexturedWindowBackground
public static boolean shouldManuallyPaintTexturedWindowBackground()true
if the Unified Tool Bar, Preference Tool Bar or Bottom Bar backgrounds should be manually painted in code, rather than letting Mac OS X do the painting. This will always return true on platforms other than Mac, and will sometimes return true on Mac's due to painting bugs in the Java distrobution.
-