data from one class to another ??
I have a problem with my program :
I use a class "public class panel extends JPanel" to create the interface (menu, tree and so on).
In this class I use an other class "1" to define the file (Kmlfile), and then I use an other class "2" to read the file. => public class 1 extends 2
When I read the file I save the data (wich are in the kmlfile) in an array (String).
And I need this data in my class panel to do the interface.
I don't know how I can have the data in the class panel wich is not implents or extends with the class 1.
Can you help me.