A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Swing / AWT / SWT
split component and communication
Joined: Apr 05, 2005
Nov 25, 2012 07:32:53
i tried to split every area of a program.
I have a main class (Main.java) who extends
Main class containt a left panel who contain two panels. The first one (Component) contain many TabelPanel and the second is named Property.
I have a center panel (design) and a bottom panel who contain a button. The design panel contain a jtree.
I take element from component panel and a do drag and drop to jtree. When i select a element in the jtree, i need to display information to the property panel.
When i click in the bottom (bottom panel), i need to iterate to jtree panel.
Instead to have reference everywhere, what is the best way to avoid that?
Joined: Jun 19, 2010
Nov 25, 2012 09:19:47
The quieter you are, the more you are able to hear.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: split component and communication
Updating a JTree
JTree ------odd thing
jTree with the TreeModel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015