javamate06
asked on
Assigning the content of an arrayList to JList
I want to assign the content of an arrayList to JList it cannot be done.
But if I use Array it was OK.
So, Can I assign an arrayList to JList with out converting the arrayList to array?
-----------------------
I tried this :
JList list = new JList(arrayList);
But if I use Array it was OK.
So, Can I assign an arrayList to JList with out converting the arrayList to array?
-----------------------
I tried this :
JList list = new JList(arrayList);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)