This discussion is archived
1 Reply Latest reply: Apr 12, 2013 7:15 PM by Maxideon RSS

How to draw block diagram schematic in java

1002665 Newbie
Currently Being Moderated
Hi all,

I am working on a project which is a software to draw block flow diagrams like below,

[http://www.google.co.in/imgres?um=1&hl=en&client=firefox-a&rls=org.mozilla:en-US:official&biw=1280&bih=675&tbm=isch&tbnid=mZG9sfQO6PA53M:&imgrefurl=http://www.blitzfamily.eclipse.co.uk/paulblitz.co.uk/tech_tips/techtip/art1.htm&docid=ABDpeghtKM3IyM&imgurl=http://www.blitzfamily.eclipse.co.uk/paulblitz.co.uk/tech_tips/techtip/silence_detect_block.gif&w=565&h=398&ei=FaBnUaPvDoiqrAfXr4DgBQ&zoom=1&ved=1t:3588,r:5,s:0,i:94&iact=rc&dur=819&page=1&tbnh=188&tbnw=268&start=0&ndsp=15&tx=139&ty=49]

I tried to achieve drag and dropable blocks using swing DnD, but how to connect them ?

Someone suggested me to use Jgraph API but i don't know how to use it.

Please suggest me how can I design a gui in which flow diagrams can be designed.

If possible please give me a code example.

Please help me I am in a great need of it.

Thanks in advance.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points