mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-24 17:20:06 +00:00
7166437: [macosx] Support for Window.Type.UTILITY on the Mac
Apply the native UTILITY style for UTILITY Java windows Reviewed-by: art
This commit is contained in:
parent
49252e4667
commit
50d1683efd
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user