title: Java Autocomplete TextField (Ajax style)
body: <p>I need to create a JTextField (or any component where I can type something) and it has to offer a list of dynamicaly populated values. When I type a new character, the propositions are updated (Like Ajax does)</p>
  
  <p>One particularity is that the user can only choose a value that was populated. I need that for my users to select an existing city from a database.</p>
  
  <p>What would be the easiest way to make it with Swing ?</p>
  
  <p>Thank you.</p>