|
hii,
how to make a vector's class be accessible by another classes. cause i got a problem dat my vector cant be accessed by any other classes but only the one class itself. Meaning.. let's say i have 3 different classes named them class A(main method), B and C, and 1 class Vector.
So if I store a record of class B inside the vector in class Vector, other class like class A and C cant access it. Meaning if i try to call the data by using getMethod, i won't get anything back, in other word, vector is empty! but simultaneously i could call the data within the class B itself.
And even if I dispose the window of class B with the application still in the run, and open the window of class B again, all the records that had been stored previously are gone. Why such things could happen and how to overcome this?
Thx for helping~
I AM SORRY I HAVE POSTED THIS ON WRONG SECTION
This post has been edited by musizian: 12 Aug, 2008 - 01:39 AM
|