I have a SWT combo box in my GUI. Can I check if the combo box has been opened? (I have a mechanism that updates the state indicated in the combo box when the user opens it, sometimes it jumps between the user’s choice and what the algorithm considers the right one, the user's choice takes precedence over everything else).
The SWT Combo component has a method getListVisible()that returns a flag if a combo drop-down list is displayed or not. See the documentation for combos for more information .
getListVisible()
The Wizard's answer is roughly org.eclipse.swt.widgets.Combo
org.eclipse.swt.widgets.Combo
javax.swing.JComboBox, isPopupVisible()
javax.swing.JComboBox
isPopupVisible()