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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can you help me plzzz with a graph?