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

SwingSet2 ButtonDemo: text alignment works only for controls on first tabbed pan

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • sparc
    • solaris_8

      The ButtonDemo creates a new LayoutControlPanel for each tabbed pane. The problem arises in the LayoutControlPanel which uses the method getCurrentControls to retrieve the controls from the ButtonDemo. Since the first tab is selected the text buttons are always the current controls and the remaining tabs will not have their controls aligned until the user changes the alignment.

            joutwatesunw Joshua Outwater (Inactive)
            joutwatesunw Joshua Outwater (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: