ComboBox.setFocusOnClick

Sets whether the combo box will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don't want the keyboard focus removed from the main area of the application. Since 2.6

class ComboBox
void
setFocusOnClick

Parameters

focusOnClick int

whether the combo box grabs focus when clicked with the mouse

Meta