Link to home
Start Free TrialLog in
Avatar of eric07
eric07

asked on

Adding string to a JList?

I'm trying to figure out how to add a new list to a JList control.  I know
how to add it w/ JList() constructor, but how about after the list is
already created and later depending o a condition you need to add another
string into it?  Cant seem to find a addItem method like in 1.1?

ex.
1.  Listbox is already created and some data is inserted. Then later I need
to add another string.  What would I need to dol

Thanks


ASKER CERTIFIED SOLUTION
Avatar of heyhey_
heyhey_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Moondancer
Moondancer

This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.

https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thank you,
Moondancer
Moderator @ Experts Exchange