title: How could I implement autocompletion using Swing?
body: <p>I'm interested in providing an autocompletion box in a JFrame. The triggering mechanism will be based on mnemonics (I think), but I'm not really sure what to use for the "autocompletion box" (I would like results to be filtered as the user presses keys).</p>
  
  <p>How would you implement this? Some sort of JFrame, or a JPopupMenu? </p>
  
  <p>I would like to know how this is implemented, so please don't post links to available [J]Components.</p>