There is no built in way to control the width of the button in the JComboBox class, and even if you do a getComponents() on the combo box and call any of the set
xSize() methods on the button you get, the actual button size doesn't change.
It looks like the only way to do this is to create your own version of a combo box by extending JComboBox or by creating a new UI for the JComboBox.
-Nate
P.S. - '
Ramana' is not a valid user name. Please re-register with a user name that follows the guidelines of the
Official JavaRanch User Name Conventions. It states that your user name must be in the format "First Name" + space + "Last Name".