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

Should investigate extension to LayoutManagers to support flexible components

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 6
    • client-libs
    • generic
    • generic

      Many components doesn't have a fixed notion of preferredSize. Example is a text component. If you set its width smaller than it is now, it can grow slightly bigger - and this is its current preferred size. Layouts don't work well with such components, see 4446522, 4990877.

      We must investigate possible extensions to a Component or LayoutManager(2) interfaces to see if anything can be done to legalize such behavior.

            dav Andrei Dmitriev (Inactive)
            domsunw Dom Dom (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: