|
-
Apr 23rd, 2002, 01:42 PM
#1
Thread Starter
Hyperactive Member
Accessing anther class components
I have two classes
how can I use the JList from another class
each class has its file
??
-
Apr 23rd, 2002, 02:00 PM
#2
you have to extends the class
-
Apr 23rd, 2002, 02:40 PM
#3
Thread Starter
Hyperactive Member
it's already extends another class
-
Apr 23rd, 2002, 02:54 PM
#4
Dazed Member
Try creating a get method that returns a refrence to the JList so it's contents can be modified.
-
Apr 23rd, 2002, 03:03 PM
#5
Thread Starter
Hyperactive Member
suppose that i have getJList() method which return the JList object;
how can I use that method in the other class ?
-
Apr 23rd, 2002, 03:16 PM
#6
Thread Starter
Hyperactive Member
now every thing is OK
thanks all
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|