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 Simple 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 "Simple Graph" Watch "Simple Graph" New topic

Simple Graph

Marcus Senna

Joined: Feb 22, 2007
Posts: 21
Hey, i am trying to find a way to draw a simple graph in a frame. Your help would be greatly appreciated as i am new to Java Swing. Thanks!!!
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Craig, that's pretty neat and simple. I've taken the liberty of incorporating it into our FAQ: PlotTest
mohsin anssari

Joined: Dec 27, 2009
Posts: 1
Hi ... i seems quite simple code.. but i dont understand whn i try to compile it with eclipse ... an error comes
Java virtual machine launcher
"could not find the main class.Program exits"

can any one can help me with that error am out of my options
I agree. Here's the link:
subject: Simple Graph
jQuery in Action, 3rd edition