File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes label in coordinates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "label in coordinates" Watch "label in coordinates" New topic

label in coordinates

shalini gnana
Ranch Hand

Joined: Sep 18, 2007
Posts: 189
i want to label the co-ordinates in the graph using JLabel.
So far i named the co-ordinates only by using drawstring() method..So,can anyone say me how can i do the same with a Label..Moreover i have to add tool-tip to it.

Any Help!!
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
I agree. Here's the link:
subject: label in coordinates
It's not a secret anymore!