Blur events handling

Hi guys,

I have two comboboxes (combo1 and combo2) and a lot of other components in other layouts. combo1 is focused. There is two possible operations:
a) When i click on combo2 i want to hide combo1.
b) When i click on any other component except of my combos i want to hide combo1 and combo2.

I tried to add blur and focus listeners to comboboxes, but when i perform operation b) i have only blur event on combo1 and i dont know on which component i clicked.

Could you help me to implement such functionality

Thank you.