title: Implementing Java2SAutoTextField to a JtextField
body: <p>1) I was able to add a <code>JTextField</code> to the <code>JFrame</code>, and I initialized the class <a href="http://www.java2s.com/Code/Java/Swing-JFC/AutocompleteTextField.htm" rel="nofollow noreferrer"><code>Java2sAutoTextField</code></a> as given in Auto Complete <code>JTextField</code> (Swing / AWT / SWT / JFace forum at JavaRanch).</p>
  
  <p>2) I initialized the list and field inside the <code>JFrame</code> constructor, as shown below.</p>
  
  <pre><code>List possible = new ArrayList(); 
  possible.add("Austria"); 
  possible.add("Italy"); 
  possible.add("Croatia"); 
  possible.add("Hungary"); 
  Java2sAutoTextField autoCompleter = new Java2sAutoTextField(possible); 
  </code></pre>
  
  <p>3) The problem that arises is this: Even though I have initialized the <code>Java2sAutoTextField</code>, how can I apply auto completing to the <code>JTextField</code>?</p>