Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本上我需要更新从文本框中按下输入事件的列表,其中包含一个值,例如伯明翰
按下回车后,通过现成的库搜索文本框中的值,并将匹配的值显示在链表中
您需要ActionListener在文本框中注册相应的所有内容。
ActionListener