mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
8256201: java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java failed
Reviewed-by: jdv
This commit is contained in:
parent
3e70aac5cc
commit
1c0b490c28
1 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ public final class FullscreenWindowProps {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
|
frame.setUndecorated(true); // workaround JDK-8256257
|
||||||
frame.setBackground(Color.MAGENTA);
|
frame.setBackground(Color.MAGENTA);
|
||||||
frame.setVisible(true);
|
frame.setVisible(true);
|
||||||
gd.setFullScreenWindow(frame);
|
gd.setFullScreenWindow(frame);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue