Friday, 15 April 2011

java - How do I display a JList in a JTextArea? -



java - How do I display a JList in a JTextArea? -

i have this: list1 = new jlist(petlist) petlist vector.

and update jlist when button pressed: list1.updateui();

all i'm trying is display list in jtextarea, area.settext(jlist here) after gets updated, can't figure out. tried doing jlist.paramstring() returned error saying wasn't visible. help?

java

No comments:

Post a Comment