wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes manually dispatching event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "manually dispatching event " Watch "manually dispatching event " New topic
Author

manually dispatching event

Shay Gaghe
Ranch Hand

Joined: Sep 03, 2001
Posts: 102
Hi
I need to perform such an action that makes the system to think like I mouse over the component. More specifically I have a button and an icon which registered with a ToolTipText , once I press on the button I want it to send mouse event to the icon and as a result the icon will show the ToolTip?
What the specific mouse event that the ToolTip expect to?
How can I manually dispatch events?
(If you can please some code will help)
Shay Gaghe

Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
hi,
are you sure you want a tooltip appear at another location when you click a button? that is not what the user will expect. think about a Dialog box. whats the button there for, anyway?
chantal
Shay Gaghe
Ranch Hand

Joined: Sep 03, 2001
Posts: 102
Hi
In general the operator of this forum Mr Nathan Purett ( great person) helped me to find the solution for this problem. Regarding to your wondering, I need it to provide a balloon of thoughts to theatre characters.
Thanks any way
Shay Gaghe

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: manually dispatching event