how to implement search Token (like in mac Lion )in Java?
I am thinking to 开发者_运维知识库implement search token (see below) in java. I have my different fields to search from and text to search. I am a little confused on how to make the UI like the rectangular ellipse and text in it and a cross button on it. How do we make that in JTextArea. Ideas are welcome.
Example of a search token:
If this question is purely about the UI, then you need to change the LookAndFeel to something that matches Mac OS.
I don't think there is a Mac like LAF out of the box, but a quick Google search shows some promising results.
精彩评论