The message says what the problem is: JList does not have a setText() method.
Read the API doc for JList to see an example and what methods it has.
There is a link in the API doc for how to use...
Type: Posts; User: NormR
The message says what the problem is: JList does not have a setText() method.
Read the API doc for JList to see an example and what methods it has.
There is a link in the API doc for how to use...
Can you post the code that you are working with so we can see what the problems are?
Also post the full text of any error messages.
Where is the JList used in the code? I can't see it.
Did you look at the API doc for the JList class? It has sample code.
The API doc: Java Platform SE 8