How to add a popup menu to a JTextField
<p>Can anybody explain me how to add a popup menu at a JtextField? I managed to add a JPopupMenu:</p>

<pre><code>JPopupMenu popup = new JPopupMenu();
    popup.add("m");
popup.add("n"); 

JTextField textField = new JTextField();
textField.add(popup);
</code></pre>

<p>.....</p>

<p>But when i roll the mouse over "popup", nothing is happening (i need to select an item from popup).</p>
