title: Java Swing Combobox with Autocomplete and Context Menu
body: <p>I have auto complete for a JCombobox working by following this article:</p>
  
  <p><a href="http://today.java.net/pub/a/today/2007/07/19/adding-auto-completion-to-swing-comboboxes.html" rel="nofollow noreferrer">http://today.java.net/pub/a/today/2007/07/19/adding-auto-completion-to-swing-comboboxes.html</a></p>
  
  <p>I am using the SwingX library.</p>
  
  <p>Now I would like to add persistence support to the items in the combo box. Basically when you right click an item a context menu comes up and you can remove the item. The same thing with the delete key.</p>
  
  <p>To add an item the user just types a new entry which in not in the list yet.</p>
  
  <p>I haven’t found a way to hook up a context menu yet.</p>