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

[macosx] Jtree icon painted over label when scrollbars present in window

XMLWordPrintable

        With the following code,

        JFrame frame = new JFrame("frame");
        frame.add(BorderLayout.CENTER, new JScrollPane(new JTree()));
        frame.add(BorderLayout.SOUTH, new JLabel("label"));
        frame.setSize(200, 100);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);

        Reducing the size of the window until a scrollbar is shown, you can see a
        tree icon is painted over a label.

              anashaty Anton Nashatyrev (Inactive)
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: