Implementing Java2SAutoTextField to a JtextField
1) I was able to add a JTextField to the JFrame , and I initialized the class Java2sAutoTextField as given in Auto Complete JTextField (Swing / AWT / SWT / JFace forum at JavaRanch). 2) I initialized the list and field inside the JFrame constructor, as shown below. List possible = new ArrayList(); possible.add("Austria"); possible.add("Italy"); possible.add("Croatia"); possible.add("Hungary"); Java2sAutoTextField autoCompleter = new Java2sAutoTextField(possible); 3) The problem that arises is this: Even though I have initialized the Java2sAutoTextField , how can I apply auto completing to the