How to add Listener or double clicks element in DefaultListModel to open a new Jframe?
<pre><code>dlm = new DefaultListModel();
jl = new JList(dlm);
dlm.addElement("adfsdf");
</code></pre>

<p>I want to double clicks "adfsdf" then open a new JFrame,how to handle?</p>
