Examples of weight constraints

  1. weight constraints on both panels and lists.

    weights on both panels and lists

    weights on both panels and lists, resized


  2. weight constraints on the panels, but not on the lists.

    weights on panels, but not lists

    weights on panels, but not lists, resized


  3. weight constraints on the lists, but not on the panels.

    weights on lists, but not panels

    weights on lists, but not panels, resized


  4. Horizontal weight constraints (weightx) only on all four components.

    Horizontal weights only


  5. Vertical weight constraints (weighty) only on all four components.

    Vertical weights only


  6. weight constraints on only one panel and list component in the row.

    weights on only one panel and list in row

    weights on only one panel and list in row, resized