2

I'm building on top of an existing UI which is in Swing. I need to add a search module wherein the user can enter search terms which should be auto-complete'd.

I'm considering building a UI very similar to Stackoverflow's 'tagging a question' feature. So in my use case each 'tag' would be a search term.

I'm completely new to Swing or UIs in general and have very little clue on how to start.
Any advice/pointers on how and where to start would be of great value to me.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
ping
  • 1,229
  • 3
  • 21
  • 41

2 Answers2

2

there are two ways

Community
  • 1
  • 1
mKorbel
  • 109,525
  • 20
  • 134
  • 319
1

You should use and ArrayList where every time someone types a keyword into the search box and clicks find, the program goes in a while loop and searches all topics with that particular tag. and hence can be displayed later as a list with found solutions.