Re: ToolTip text for JButton



Chanchal schrieb:
Is there any way tooltip text of a JButton can be shown always, rather
than it get displayed on mouse over of the JButton
Well, when you display the tooltip always, rather than only when the mouse is over the button, then I wouldn't call it a tooltip anymore.

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
.