Hi, I'm developing a GUI with several forms, one of which contains a jLabel that displays a JPEG image of a graph as it's icon. How do I go about plotting a simple 2d curve on that image from a set of data? I know of drawLine etc, but how can I do that on a jLabel?
Many thanks!
matt_5104
0
Newbie Poster
Recommended Answers
Jump to Postuse paintComponent(Graphics g)
Jump to Postuse paintComponent(Graphics g)
huh? how does that help, just curious?
Jump to PostHe said he wanted to draw some graphics on a JLabel, well that's how. Maybe you should think a little harder before posting stupid replys. Besides, if you didn't even know what I was talking about, why did you even post? It was obvious that helped...Now stop taking away from …
Jump to PostHe said he wanted to draw some graphics on a JLabel, well that's how. Maybe you should think a little harder before posting stupid replys. Besides, if you didn't even know what I was talking about, why did you even post? It was obvious that helped...Now stop taking away from …
All 15 Replies
server_crash
64
Postaholic
Fasola
0
Junior Poster
server_crash
64
Postaholic
Fasola
0
Junior Poster
server_crash
64
Postaholic
OurNation
5
Master Poster
Fasola
0
Junior Poster
server_crash
64
Postaholic
server_crash
64
Postaholic
server_crash
64
Postaholic
OurNation
5
Master Poster
matt_5104
0
Newbie Poster
server_crash
64
Postaholic
Fasola
0
Junior Poster
server_crash
64
Postaholic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.