• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting between panels  RSS feed

pritam mitra
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.


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!