Java JList model

Posted by Alaa on Stack Overflow See other posts from Stack Overflow or by Alaa
Published on 2010-05-23T19:12:29Z Indexed on 2010/05/23 19:20 UTC
Read the original article Hit count: 412

Filed under:
|
|

How can I make a list model from a JList in order to be able to insert an item into it. I want to use this method: addElement(java.lang.Object item)

I found an explanation here, but the problem is that ListModel is an interface and even if I write an implementation and override its method, I can't use the addElement() method

© Stack Overflow or respective owner

Related posts about java

Related posts about swing