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

GridBagLayout's Hashtable not updated on comp remove (1.1.x ONLY)

XMLWordPrintable

    • generic
    • generic



      Name: dgC58589 Date: 01/28/98


      java.awt.GridBagLayout does not remove all knowledge of a component when the component is removed from the associated Container. The component is not removed for the GridBagLayout's Hashtable of constraints.

      This is major problem if you serialize/deserialize a GridBagLayout. If you remove a component from the container the GridBagLayout continues to have reference to the object so the serialization file continues to have a dependency on the component's class.
      (Review ID: 23958)
      ======================================================================

            rraysunw Richard Ray (Inactive)
            dgrahamcsunw David Graham-cumming (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: