aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Creating Graphics using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Creating Graphics using Java" Watch "Creating Graphics using Java" New topic

Creating Graphics using Java

Suparn Gupta

Joined: Feb 26, 2012
Posts: 16

I am working on a program that shows a graph in terms of table of nodes and edges. It creates an adjacency matrix. Now I was wondering if there is any way by which I can plot the graph graphically. I understand that I can use AWT to create circles for nodes and connect them using lines(edges) by specifying the coordinates. I want something more. I want my nodes to be represented as Java objects (not mere shapes) so that I can handle events on them. Also, I want to design the nodes like the way we can do in photoshop or coreldraw. I don't know whether my query is relevant or not. Still, Is this possible.?
jQuery in Action, 2nd edition
subject: Creating Graphics using Java