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

Blank Gaps around borders of panels added to JSplitPane's are undesirable

XMLWordPrintable

      Blank Gaps around borders of panels added to JSplitPane's are
      undesirable...becomes very evident when several JSplitPane's are nested.

      Using Swing 1.0.1 and JDK 1.1.5 - see attached test case.

      To Reproduce: See the white gap below and to the right side of the
      JSplitPane in the middle. This Horizontal JSplitPane is the first
      created in SplitPanePanel.java on lines 78-83.

      i.e.

      middleSplitPane = new JSplitPane
                              (JSplitPane.HORIZONTAL_SPLIT, leftPanel, rightPanel);
      middleSplitPane.setContinuousLayout(false);
      middleSplitPane.setDividerSize(SplitPanePanel.DIVIDER_SIZE);
      middleSplitPane.getAccessibleContext().setAccessibleName("Middle Split Panes");

            svioletsunw Scott Violet (Inactive)
            jbenoit Jonathan Benoit (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: