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.