Results 1 to 2 of 2
  1. #1
    amir is offline Member
    Join Date
    Aug 2008
    Rep Power

    Default mouse click alert

    I want to be informed when mouse is clicked on any point in the screen, even out of any java frames. Can anyone help me please?


  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    even out of any java frames.
    Not sure about that. On many OS the mouse is used to control events, so the OS will want to grab the mouse clicks for its stuff.

    In your code, Use a mouseListener to be informed of mouse events.
    Last edited by Norm; 08-06-2008 at 12:20 AM.

Similar Threads

  1. Javascript Alert
    By mutuah in forum New To Java
    Replies: 4
    Last Post: 03-25-2010, 05:28 PM
  2. Replies: 21
    Last Post: 08-01-2008, 11:13 AM
  3. Problem in mouse click n repaint
    By Preethi in forum New To Java
    Replies: 4
    Last Post: 07-04-2008, 11:16 AM
  4. Using Alert in MIDlet
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-22-2007, 10:22 AM
  5. Mouse Right click option not working in solaris and linux OS
    By dinesh kaushik in forum AWT / Swing
    Replies: 2
    Last Post: 11-21-2007, 04:02 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