I was looking for a way to avoid the messy references.
Maybe I am looking more for a design
pattern. Here is what I am looking at (I hope the formatting works):
/- JTable
/- EditTablePanel<
EditFrame - EditPanel<
\ /- other buttons
\- EditButtonPanel<
\- AddButton -opens-> AddFrame
/- input fields
AddFrame - AddPanel<
\- SaveButton -send input values to EditTablePanel
It seems like the tree gets deep very fast. Plus, once I open AddFrame, getParent seems to be cut off from the rest of the app.
Is there a neat way to return the values from the AddPanel input fields to the JTable on the EditTablePanel?
...Mike