Which component do I have to use for a mouse-tooltip
Hi!
I want to open a small tooltip at the mouse position, just like a button tooltip. The tooltip should follow the mouse pointer and display the mouse position coordinates.
publicvoid mouseMoved(MouseEvent e){
if (mouseTip ==null){
mouseTip =new JFrame();
mouseTip.setSize(20, 20);
mouseTip.setLocation(e.getX(),e.getY());
mouseTip.setVisible(true);
...
Principally it works, but the Frame is too heavy. Which component is used for the classic button-tooltip and how can I use it?
Thanks in advance
Message was edited by:
carodita

