A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Swing / AWT / SWT
How do you get a mouse over message on a button
Joined: Jan 04, 2002
Jan 25, 2002 08:34:00
I have a button and when a mouse over a button, I want to get get a description message.
Joined: Nov 03, 2000
Jan 25, 2002 09:24:00
you can have mouse listener attached to the button and with the mouseEntered method u can display the message.
Joined: May 30, 2001
Jan 25, 2002 16:59:00
Why not try this:
JButton b = new JButton( "Accept" ); b.setToolTipText( "Click here to accept the option you have selected." );
Hope that helps.
Raising Flares debut album 'Ignition' out now
Terry Doyle <br />SCPJ 1.4 , SCWCD , SCMAD(Beta)
It is sorta covered in the
JavaRanch Style Guide
subject: How do you get a mouse over message on a button
looking for script
SWT: missing a MouseListener method
Drop Down Menu Buttons
How to display hint message when put mouse over a button
About button's onMouseOver event
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014