Results 1 to 2 of 2
  1. #1
    raghuylin is offline Member
    Join Date
    Oct 2008
    Rep Power

    Default InternalFrame and FocusListener

    Hi All,

    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

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. FocusListener Demonstration
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-11-2008, 04:46 PM
  2. Replies: 1
    Last Post: 04-24-2008, 06:35 PM
  3. Demonstrating the FocusListener
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 04-23-2008, 08:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts