This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Connecting between panels" Watch "Connecting between panels" New topic
Author

Connecting between panels

pritam mitra
Greenhorn

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.

Regards

Pritam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting between panels
 
Similar Threads
Updating a JPanel after change...
Adding JPanel in JFrame
Custom painting/graphics
fixed modal dialog
New ground, making progress, but need some guidance with drawing lines.