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

addLayoutComponent(String, Component) underspecified for BorderLayout etc.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs
    • sparc
    • solaris_8

      Since 4890577 was fixed, the spec for GridBagLayout.addLAyoutComponent(String,
      Component) states that this method

       "Has no effect, since this layout manager does not use a per-component string."

      Similar statements should also be added to similar layout manager classes.
      Those I'm aware of are BorderLayout and CardLayout. Although those methods
      are now deprecated, their behavior still should be specified.

      Note also that it's unclear why the method in CardLayout is deprecated - this
      layout apparently uses the per-component string.

      ###@###.### 2004-04-28

            dav Andrei Dmitriev (Inactive)
            savzan Stanislav Avzan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: