I have more jlabels in a jpanel, I have to highlight the required jlabel at run time.
-> have created a search button and text field
I want to do following things
-> User typing some text in a text field -> User enters a search button -> If the typed text match with the text of any jlabels in a jpanel, the particular jlabel should highlight.
I have tried jpanel's getComponent of method but it not working
Help me to create a search bar for jpanel components search