File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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:
subject: How do you get a mouse over message on a button
How to display hint message when put mouse over a button
looking for script
Drop Down Menu Buttons
SWT: missing a MouseListener method
About button's onMouseOver event
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014