8256201: java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java failed
Reviewed-by: jdv
This commit is contained in:
parent
3e70aac5cc
commit
1c0b490c28
@ -55,6 +55,7 @@ public final class FullscreenWindowProps {
|
||||
}
|
||||
};
|
||||
try {
|
||||
frame.setUndecorated(true); // workaround JDK-8256257
|
||||
frame.setBackground(Color.MAGENTA);
|
||||
frame.setVisible(true);
|
||||
gd.setFullScreenWindow(frame);
|
||||
@ -99,4 +100,4 @@ public final class FullscreenWindowProps {
|
||||
throw new RuntimeException(prop + " is wrong");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user