JSuggestField - The JTextField that makes suggestions

JSuggestField behaves like "Google Suggest", but you can use it in Java. It extends JTextField, adding special features. You can use it just like any other JComponent.

JSuggestField s = new JSuggestField(this, suggestData);

See the javadoc for details.

Archive contains the JSuggestField-class and an example. Tested with jre 1.6

» Download

version 0.2, using seperate matcher-thread now
Licensed under the GLPv3

hi, rakudave..

i tried your sample it is really very good.

but the problem is that size of suggestion dialog (poped up)
can not set samll, i.e width is too much large .

how do i make it small.

help

Use one of the following:

public void setPreferredSuggestSize(Dimension size)
public void setMinimumSuggestSize(Dimension size)
public void setMaximumSuggestSize(Dimension size)

How about a SWT example?

That is understandable that money can make people autonomous. But what to do when somebody has no cash? The one way only is to get the loans and collateral loan.