提交 2ff01035 编写于 作者: A anthony

7166437: [macosx] Support for Window.Type.UTILITY on the Mac

Summary: Apply the native UTILITY style for UTILITY Java windows
Reviewed-by: art
上级 c5aaeda1
......@@ -312,6 +312,10 @@ public class CPlatformWindow extends CFRetainedResource implements PlatformWindo
styleBits = SET(styleBits, NONACTIVATING, true);
}
if (Window.Type.UTILITY.equals(target.getType())) {
styleBits = SET(styleBits, UTILITY, true);
}
if (target instanceof javax.swing.RootPaneContainer) {
javax.swing.JRootPane rootpane = ((javax.swing.RootPaneContainer)target).getRootPane();
Object prop = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册