Ok, so i'm doing a GUI for a program i'm making. It has 4 classes (MainPanel, Panel1, panel2, Panel3) and i have referenced panel2 in panel 3 in it's constructor i.e.
public Panel3(Panel2 panel2)
The objects are all created in the main class of the program i.e. MainPanel
I want to get the information put into Panel2 and use it in a method of Panel3. I can't seem to figure it out though
The info i want to take is from JLabels
Any help appreciated, thanks
