Results 1 to 4 of 4
Thread: Creating Graphics using Java
- 02-28-2012, 04:53 PM #1
Member
- Join Date
- Feb 2012
- Posts
- 2
- Rep Power
- 0
Creating Graphics using Java
Hi!
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.?
- 02-28-2012, 07:00 PM #2
Re: Creating Graphics using Java
Yes, you can draw shapes on the screen and use the mouse/cursor to move them around.
There are some sample programs here on the forum that do what you describe. I'm not sure who posted them. It could have been: Fubarable
- 02-29-2012, 05:14 AM #3
Member
- Join Date
- Feb 2012
- Posts
- 2
- Rep Power
- 0
Re: Creating Graphics using Java
Thanks for your response. Drawing tools like AutoCad etc allow drawing graphics i 3D too. Is it possible that I can integrate CAD with my java app and plot the graph in that through command line....
- 02-29-2012, 01:17 PM #4
Similar Threads
-
java and graphics 3d
By garnaout in forum New To JavaReplies: 0Last Post: 02-24-2012, 09:48 PM -
Courses on Java and graphics in Java (GUIs, JOGL2) available online
By Manuel in forum Java SoftwareReplies: 1Last Post: 07-12-2011, 10:33 AM -
Java graphics
By AtomicPoop in forum Java GamingReplies: 13Last Post: 04-18-2011, 06:40 PM -
Please Help! : Java Graphics
By keaton1ao in forum Java 2DReplies: 1Last Post: 11-17-2010, 08:46 PM -
i am having a problem with creating graphics
By umpire43055 in forum AWT / SwingReplies: 3Last Post: 08-07-2009, 05:26 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks