aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes tooltip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "tooltip" Watch "tooltip" New topic
Author

tooltip

shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
can any one say me how to implement a tooltip for co-ordinates in graph using graphics
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Enable tooltips for the component that you are using to draw your graph and use the "public String getToolTipText(MouseEvent e)" version of the method - you can use the coordinates of the MouseEvent to get the tooltip that you need.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
Thank you...
Pls say me, how can i place the label in all co-ordinates while drawing a graph?
shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
Thank you...
Pls say me, how can i place the label in all co-ordinates while drawing a graph?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tooltip
 
Similar Threads
Ajax tooltip position problem
Best tooltip library?
Increase Mouse Tool Tip
Pop up a message
Tooltip stay longer?