Don't put everything on a separate panel, but
panel layering makes good sense for UI design
and re-use. This is known as the
Composite View
pattern - building your final
presentable UI from a series of panels.
Also, when you create your panels, create
Model objects to further separate and
componentize your UI code - using the simpler
Model/View pattern ( versus Model View Controller ). There should be a parallel
structure for your Views and Models. Parent
views know about children, but children do not
know about parents. Parent Models know about
child models, but children do not know about
their parents. A View knows about it's model,
but the model does not know about the view.
-----------------------------------
Considering the Certified
Java Programmer Exam?
Get JCertify!
Now available for both 1.2 and 1.4 platform exams
http://www.enterprisedeveloper.com/jcertify