Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Apr 12, 2013 9:15 PM by
How to draw block diagram schematic in java
Apr 12, 2013 12: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.
This content has been marked as final.
Show 1 reply
Re: How to draw block diagram schematic in java
Apr 12, 2013 9:15 PM
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.