This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Can you help me plzzz with a graph? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can you help me plzzz with a graph?" Watch "Can you help me plzzz with a graph?" New topic
Author

Can you help me plzzz with a graph?

dorjee gyaltsen
Greenhorn

Joined: Dec 29, 2004
Posts: 4
hi!
can anyone give me the basic java code to create a simple line graph for output of my java program.
thanks a lot in advance.
cheers!
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
This is a modification to some older code and should run okay in j2se 1.4
If using j2se 1.5 try compiling to an earlier version with the source flag, eg,

 
Don't get me started about those stupid light bulbs.
 
subject: Can you help me plzzz with a graph?