Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
on Apr 13, 2013 2:15 AM by Maxideon
How to draw block diagram schematic in java
Apr 12, 2013 5:52 AM
I am working on a project which is a software to draw block flow diagrams like below,
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.
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: How to draw block diagram schematic in java
Apr 13, 2013 2:15 AM
in response to
Whatever component contains to the blocks needs to draw the connectors. This will involve an overridden paintComponent() method as well as a bit of math. And you'll just be recreating the functionality that things like JGraph probably specialize in.