How to get text to be displayed when the mouse hovers over a JCheckBox
Hi
I would like some text to be displayed each time the mouse hovers over a JCheckBox. This text would be different for each JCheckBox.
I can't seem to find a JCheckBox method that does this.
I'd like to know whether or not there's a way to do this without using a mouse listener or anything like that please.
Thank you in advance
Re: How to get text to be displayed when the mouse hovers over a JCheckBox
Do you mean like a tool tip? Search the API for the method "setToolTipText(String text)".