Я хочу создать текстовое поле с автоматическим предложением, которое будет запрашивать базу данных в каждом событии релиза. Эта часть проста, но я хочу дать ей приятную визуальность. Что-то похожее на текстовое поле с автоматическим предложением, которое мы видим на веб-сайтах, таких как поиск в Facebook.
Как сделать такой интерфейс?
Наивная идея заключалась бы в том, чтобы JList располагался чуть ниже текстового поля и отображал его с результатами в нем при поиске.
Любая лучшая идея или стандартный способ сделать это?