This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 41592
Craig, that's pretty neat and simple. I've taken the liberty of incorporating it into our FAQ: PlotTest

Ping & DNS - my free Android networking tools app
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
Consider Paul's rocket mass heater.
subject: Simple Graph