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)
I agree. Here's the link:
- it saves me about five hours per week
subject: How do you get a mouse over message on a button
About button's onMouseOver event
How to display hint message when put mouse over a button
SWT: missing a MouseListener method
Drop Down Menu Buttons
looking for script
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013