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

panel.add( component, index ), index does not always work well.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.2.2
    • client-libs
    • generic
    • solaris_2.6

      There are two problems here:

      1. panel.add( component comp, int index ) index -1 not work. It suppose to insert the component to the end. But visually, the specific component does not show up at the end.
      2. On heavy weight panel or LWBorderedPanel, if use FlowLayout(), the normal index such as 0, 1, 2.. works. But if use LWVerticalLayout(), components are not
      added as the index. Visully, they still show up as the sequence you call "add" method.

            jdusunw Jeanne Du (Inactive)
            jdusunw Jeanne Du (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: