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

Provide an index property on container beans for constraints for succesive add

XMLWordPrintable

    • generic
    • solaris_2.5

      Many of the Java Tools now support GUI based assemply of components. Many of these GUIs take an approach of absolute positioning of GUI components into containers. However in the Java world one should really use LayoutManagers. The problem is that each layout manager may require an additional contraint object
      of specific type e.g. BorderLayout requires a string object, GridBag layout requires a GridBagConstraints object. In GUI assempbler when user adds components to a container user may not want to supply these. The GUI assembler
      could take an approach of using a default value for the constraint. However when mulitple components are added to the container it may not make sense to use the
      defaults. My RFE is that can some common mechanism be eveloved whereby the LayoutManagers publish an array of constraint which could be used for each succesive addition of component. For example for a BorderLayout it may look
      like "CENTER", "NORTH", "EAST", "SOUTH", "WEST". May be it should be configurable per site/per user also.


      sandip.chitale@Eng 1998-10-29

            mmartaksunw Michael Martak (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: