Results 1 to 2 of 2
- 08-30-2009, 05:53 AM #1
Member
- Join Date
- Aug 2009
- Posts
- 1
- Rep Power
- 0
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.
- 08-30-2009, 06:55 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 14
Similar Threads
-
Detecting mouseEntered event in JComponent
By djhallx in forum AWT / SwingReplies: 1Last Post: 02-26-2009, 11:39 PM -
how to give delay?
By shaluchandran in forum New To JavaReplies: 10Last Post: 12-17-2008, 06:57 PM -
Delay on inputs during calculation
By matt_well in forum New To JavaReplies: 14Last Post: 07-26-2008, 05:17 PM -
How to cancel an individual timer in spite of canceling whole timer
By Java Tip in forum java.utilReplies: 0Last Post: 04-04-2008, 03:46 PM -
XML parsing with 10sec delay using timer class
By srikanthn in forum XMLReplies: 0Last Post: 02-05-2008, 11:59 AM
Bookmarks