I have two classes
how can I use the JList from another class
each class has its file
??
Printable View
I have two classes
how can I use the JList from another class
each class has its file
??
you have to extends the class
it's already extends another class
Try creating a get method that returns a refrence to the JList so it's contents can be modified.
suppose that i have getJList() method which return the JList object;
how can I use that method in the other class ?
now every thing is OK
thanks all