Is there a way to create a JTextArea or JTextField with some JLabels inside it, as in this screenshot from Facebook:

What I'm trying to do is add some JButtons with names like "Apple", "Orange", ... When a user clicks on those JButton, say "Orange", Jlabel with the word "orange" is added to JTextArea or JTextField . If the user clicked [x] on Jlabel, the word will be removed from the field.
Brad
source share