I'm trying to simulate in java swing the same search results preview on facebook, but in java I suppose it'll gonna be :
- JTextField : the user input goes here
- JList : containing JList of JPanels ( results )
- a popup or some container to hold the JList
The problem is, I couldn't manage how to display a popup right under the JTextField, I tried swingx autocomplete, editable combo box , glazedlists ... but it's not giving me good results
Can anyone help me please ?
: http://i.stack.imgur.com/bc4b0.png What do you mean but it's not giving me good results. What do you see and what do you expect? A SSCCE would also be helpful.
以上就是java swing display search result in a popup under JTextField "like facebook search"的详细内容，更多请关注web前端其它相关文章！