Calling grabFocus inside focusLost
I have an error dialog box displayed inside focusLost handler of the JTextField control.
After I validate the text entered in the JTextField (which is actually DefaultTreeCellEditor) and decide to display Dialog box inside the handler I also call grabFocus or requestFocusInWindow method of the JTextField. My problem is that then I get another two focusLost calls which display the dialog box two more times.
I can understand the second call as the dialog box gets the focus, but why do I get a second call?
Is there anyway I can filter the number of calls to focusLost method somehow?

