It's not a secret anymore!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: label in coordinates
It's not a secret anymore!