posted 15 years ago
Hello everyone,
I am trying to make an application which will allow to visualise the different steps that make an Relational Algebra query. My application has a drawing panel which holds different smaller JPanels. These
JPanels represent various items - such as tables which act as input to relational algebra operators, or results produced by the relational algebra operators.
Now my issue is I am trying to find a way of connecting these tables in such a way that if i remove a panel to a new location on the drawing panel, the connectors will re-adjust themselves.
I have tried using the Graphics line option to draw these lines, but then when i move a panel these lines dont get adjusted. It will be of great help if someone can give me an idea on how to tackle this issue.
Thank you for your help.
Regards
Pritam