This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting between panels

 
pritam mitra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic