JIDE Software avaliable 30 java open source components.
Required Library downloaded from : http://www.jidesoft.com/products/oss.htm
How to Use :
Create List and add item in the list for hint
java.util.List<String> list = new ArrayList<String>();
list.add("http://www.jidesoft.com");
list.add("http://www.a9.com");
list.add("http://www.about.com");
list.add("http://www.active.com");
.
.
.
.
.
.
.
set Hint for JTextfield as
com.jidesoft.hints.ListDataIntelliHints<String> hint = new ListDataIntelliHints<String> (textField, list) ;
set other properties
hint.setCaseSensitive(false);
Try it .......
No comments:
Post a Comment