Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8178905

Undecorated frame is not painted on OEL7(Gnome3).

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b169
    • OS:
      linux_redhat_7.0

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ssadetsky Semyon Sadetsky (Inactive)
                Reporter:
                ssadetsky Semyon Sadetsky (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: