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 {
|
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);
|
||||||
@ -99,4 +100,4 @@ public final class FullscreenWindowProps {
|
|||||||
throw new RuntimeException(prop + " is wrong");
|
throw new RuntimeException(prop + " is wrong");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user