Swing1.1.1fcs BorderFactory.createTitledBorder does not work well.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.2.0
    • Component/s: client-libs
    • None

       
      After upgrading to Swing1.1.1fcs, the CompoundBorder for setBorder
      doesn't work well anymore. The left and bottom sides of the border are
      missing. However, if the title border is an empty string, it works and
      all 4 sides of the border are displayed.

          Border margin = BorderFactory.createEmptyBorder(5, 5, 5, 5);
          Border streamTitle = BorderFactory.createTitledBorder("Features");
          checkPanel.setBorder(new CompoundBorder(margin, streamTitle));

      This does not happen with swing 1.1 or with JDK 2.

            Assignee:
            Anne Fowler (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: