-
Bug
-
Resolution: Fixed
-
P3
-
1.0
-
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.
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.