How to cast DefaultListModel into List<Object>?
<p>I have to put all elements from a <code>DefaultListModel</code> (in a listbox) into a <code>List&lt;Object&gt;</code>. How can I do that in Java?</p>
