Is it possible in java (or any other language that you know of) to get tool tip text (on mouseover). For example you mouseover something in an arbitrary application and a tiny tooltip pops up with some info. Can this be returned as a string to a program. It seems possible, i dont see why not but im no expert. Any help would be appreciated. Thanks.
All the classes which extend JComponent
have these functionalities.
You do :
comp.setToolTipText("HEY!");
to set the text.
You do :
String tt = comp.getToolTipText();
to get the text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With