aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JComboBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JComboBox" Watch "JComboBox" New topic
Author

JComboBox

Cathy Young
Ranch Hand

Joined: Mar 02, 2002
Posts: 126
I need to write a JComboBox with Swing which has fixed width, and the elements added to it can be longer (wider) than the JComboBox. So when the JComboBox gets focus, the list of elements are in a box which is wider than the "header" of the JComboBox.
Any links? Ideas?
Thanks!
--Cathy
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Stepped Combo Box
That should do the trick.


GenRocket - Experts at Building Test Data
Cathy Young
Ranch Hand

Joined: Mar 02, 2002
Posts: 126
Originally posted by Gregg Bolinger:
Stepped Combo Box
That should do the trick.

Thanks! That is exactly what I need.
--Cathy
 
 
subject: JComboBox