InternalFrame and FocusListener
Please help me.
I have a Main Frame and a text field component in it, when i click on the text field i will open a internal frame, and this works fine. Now my requirement is when i click again outside the internal frame i.e anywhere on the main frame, the internal frame should be hidden, I implemented this using MouseListener, i handled mouseClicked method to do this. Problem in I too have a ImageButton on the main frame, and am not able to get mouseClicked method executed when clicked on that Image Button. what may the issue? Or please suggest me the best approach for this