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

Choice class has a few problems.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1
    • 1.0
    • client-libs
    • 1.1
    • sparc
    • solaris_2.4
    • Not verified

      I'm having trouble using the Choice class.

      When I first create a Choice object and place it in a panel, I don't have
      any items for it. So it comes up all squished up. I tried several workarounds,
      all which failed. First I tried adding a blank item. Now it's full size, but I'm
      stuck with a blank item as a choice. There is no way to remove an item.
      OK, so I'll try hiding the Choice object until I have an item to stick in it.
      When I hide it, add an item, and then show it, it shows in the wrong place.
      Instead of showing in the center of a borderlayout, it shows up west.
      And lastly, it you show the Choice object before adding items, it will always
      show all squished up, even after adding items.

            amfowler Anne Fowler (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: