How to control the focus listener upon action listener?
<p>I have a panel. This panel has one text field and a button. The text field has focus listener to search some db value, if not value is written it shows an exit display message when tab. 
But, when edit the text field and button clicked without pressing tab key, following order occurs: 
1) focus lost 
2) action listener </p>

<p>Problem is the calling the focus lost, action listener should be call when 
  edit into text field ---> button clicked(without tab into text field)</p>

<p>Would you please kindly share your idea ?</p>
