title: Setting the initial size of JComboBox
body: <p>I have a dialog box with a custom panel. The panel uses a GridBagLayout. How can I set the initial size of a JComboBox. </p>
  
  <p><a href="https://i.stack.imgur.com/xRXlX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xRXlX.png" alt="enter image description here"></a></p>