Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
How to display hint message when put mouse over a button
About button's onMouseOver event
Drop Down Menu Buttons
SWT: missing a MouseListener method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013