Is there any way tooltip text of a JButton can be shown always, rather
than it get displayed on mouse over of the JButton
Thanks in advance
Chanchal
Is that a question? Question marks help mark them
as such. But, in any case, I hope not.
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-gui/200710/1
Quoted from the API doc of method JDocument#setTooltipText: "The text
displays when the cursor lingers over the component."
So, my question is: Why do you want a permanent "tooltip"? May be you
want some kind of JWindow instead.
--
Thomas
>Is there any way tooltip text of a JButton can be shown always, rather
>than it get displayed on mouse over of the JButton
use a JLabel to give the instructions.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com