I am building one really big application. The situation is this: I have many tables which I can fill with data from my Java app.
I have groups and for each group there is button in my main JFrame
(Menu) and a table in my database:
Example: Table A is storing information for group A
I have one button that is called "New" and it should add new group - so this means to create new table and also to add new button in MainFrame
. This New Button is opening frame called NewGroupFrame
for example. Is it possible to add button to my MainMenu
frame from this NewGroupFrame
?
Basically: Is it possible to add components from one frame to another?