Hi everybody,
I have a class called "dynamicArray" which makes use of static array and provides addElement, deleteElement methods, etc. It stores the datatype, "myObject". I want to construct the JList with the instance of dynamicArray class, say myDynamicObj. so that whenever when I delete/add element from/to dynamicArray the JList will automatically updated with the help of the fireContentsChanged method. But, I could not find a way to construct the JList with myDynamicObj. Please help...
Note that dynamicArray class extends the AbstractListModel.
Thanks..