File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Connecting between panels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Connecting between panels" Watch "Connecting between panels" New topic

Connecting between panels

pritam mitra

Joined: Mar 05, 2009
Posts: 1
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.


I agree. Here's the link:
subject: Connecting between panels
It's not a secret anymore!