This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Here is my issue on JComboBox, it seems that the drop-down list box always has the same width as input text field of a combo box. For example in my GUI requirements, I want the input text field of a combobox contains 10 characters only, however, when user clicks on the combobox, a list of choices drops down should be about 30 characters wide. Is that possible in java? if so, how to implement that kind of combobox?
Really appreciated any suggestion or comment, thanks a lot in advance.
Joined: Jan 06, 2002
Got the answer from sun java forum, so, if interested, you can check following link to get sample code for stepped combobox: