kohinoor2007
Programmer
Hi Guys,
Is there any way to trap a combo close up event.ItemListener & action listener event is not doing the thing, I want it do.
The scenario is as follows:
Have a combobox filled with values.When the user browses through the combo drop down list, the Item state or action event is getting called.
Want to call these events only when the pop up window is closed.
Tried something as follows:
public void itemStateChanged(ItemEvent e)
{
if(!ComboBox.isPopupVisible()))
callUpdate();
}
It doesnt seem to work, because after the combo pop window is closed,the item event is not getting called.
Any idea how to achieve it....
Thanks
Is there any way to trap a combo close up event.ItemListener & action listener event is not doing the thing, I want it do.
The scenario is as follows:
Have a combobox filled with values.When the user browses through the combo drop down list, the Item state or action event is getting called.
Want to call these events only when the pop up window is closed.
Tried something as follows:
public void itemStateChanged(ItemEvent e)
{
if(!ComboBox.isPopupVisible()))
callUpdate();
}
It doesnt seem to work, because after the combo pop window is closed,the item event is not getting called.
Any idea how to achieve it....
Thanks