posted 15 years ago
Hey guys.
I really hope someone can help me, I'm having some weird bugs with JComboBoxes. I want to resize a combobox so that it looks, well, frankly, like a normal drop down list. Now I can modify the width without any problem. But try as I might, the height of the combobox fills the window from top to bottom. So I have a single itme in my box, which is exactly the way a want it, but I have miles of whitespace above and below this item, which I don't want. I've set the PrefferedSize, MaximumSize and MinimumSize, and they've constricted the width exactly as I wanted, but the height stubbornly refuses to change. If anybody could help me, you would make me a very happy bunny.
Thanks all
God loved the birds and made trees.
Man loved the birds and made cages.