Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

manually dispatching event

 
Shay Gaghe
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic