-
Bug
-
Resolution: Fixed
-
P2
-
8u121, 9, 10
-
OEL7
-
b169
-
linux_redhat_7.0
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8180246 | 10 | Semyon Sadetsky | P2 | Resolved | Fixed | b08 |
The next simple application:
public class Undecorated {
public static void main(String[] args) throws Exception {
SwingUtilities.invokeAndWait(() -> {
JFrame frame = new JFrame();
frame.setUndecorated(true);
frame.setSize(100, 100);
Container content = frame.getContentPane();
content.add(new JButton("test"), BorderLayout.NORTH);
content.setBackground(Color.red);
frame.setVisible(true);
});
}
}
produces a frame with gray background on OEL7. No Swing controls are painted.
public class Undecorated {
public static void main(String[] args) throws Exception {
SwingUtilities.invokeAndWait(() -> {
JFrame frame = new JFrame();
frame.setUndecorated(true);
frame.setSize(100, 100);
Container content = frame.getContentPane();
content.add(new JButton("test"), BorderLayout.NORTH);
content.setBackground(Color.red);
frame.setVisible(true);
});
}
}
produces a frame with gray background on OEL7. No Swing controls are painted.
- backported by
-
JDK-8180246 Undecorated frame is not painted on OEL7(Gnome3).
-
- Resolved
-
- relates to
-
JDK-8081454 [TESTBUG]Some java/awt/Mixing tests fail in OEL 7 only
-
- Resolved
-