Gday can i please get some assistance from someone that has done an
Auto complete field using a popupmenu and a jList before to hel me
out.
The process of what i want to achieve goes like this.
The use enter some text in to a textField, the string is used to run a
query then the resultSet or values returned are added to the jList
then the list is populated and the popup appears, the problem i am
having is that my popup does not dissapear after the no match is
found.
Kind like the same thing i want to emulate on the google textfiled.
Martin Gregorie - 05 Jul 2007 18:32 GMT
> Gday can i please get some assistance from someone that has done an
> Auto complete field using a popupmenu and a jList before to hel me
[quoted text clipped - 7 lines]
> having is that my popup does not dissapear after the no match is
> found.
If the ResultSet is empty pop up a JOptionPane or use a non-editable
JTextField in your query dialogue to tell the user there are no hits.
Otherwise populate and display your JList to show the results.

Signature
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |