i m trying to write a gui java program.
i have a main screen, i declared my object in the main screen class.
in the main screen, i will call 2 jpanel. from different class
how can i make the 2 jpanel use the same object i declared on my main screen?
Edited by chern4ever: n/a