Results 1 to 2 of 2
  1. #1
    chan is offline Member
    Join Date
    Aug 2009
    Rep Power

    Default can i set a timer delay on mouseEntered event

    Is there a way to set the Timer for a MouseListener.mouseEntered(MouseEvent e) ?

    I am looking to be able to do something like a TooltipManager where I would like the popup to show after x amount of time, but I need it to be a component and not a tooltip.

    I would like to use PopupFactory to have a component show after x amount of time a mouse has been focused in a certain area. I know that I could have a swing.Timer to set on an ActionListener (Timer t = new Timer(5000,myActionListener;). But of course with ActionListener, an actual action has to be taken.

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Rep Power

Similar Threads

  1. Detecting mouseEntered event in JComponent
    By djhallx in forum AWT / Swing
    Replies: 1
    Last Post: 02-26-2009, 11:39 PM
  2. how to give delay?
    By shaluchandran in forum New To Java
    Replies: 10
    Last Post: 12-17-2008, 06:57 PM
  3. Delay on inputs during calculation
    By matt_well in forum New To Java
    Replies: 14
    Last Post: 07-26-2008, 05:17 PM
  4. Replies: 0
    Last Post: 04-04-2008, 03:46 PM
  5. Replies: 0
    Last Post: 02-05-2008, 11:59 AM

Tags for this Thread

Posting Permissions

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