Text Tool in JPanel

Hello All,I would really like a JPanel that allows the user to input text dynamically, similar to the text tool in a drawing program. Does anybody have any suggestions on how to do this?Many thanks,Adam
[230 byte] By [chester122a] at [2007-10-2 4:46:45]
# 1
JEditorPane?
FuzzyOniona at 2007-7-16 0:51:33 > top of Java-index,Desktop,Core GUI APIs...
# 2

Thanks, although I'm not exactly sure that's what I'm looking for.

The project that I'm working on it an educational program. I need to present a question eg 3+4= and allow the user to type the answer in the correct place automatically.

I was thinking that I could draw the text, and then use a technique to position the cursor and take input from the keyboard displaying it on the screen before the user presses return.

chester122a at 2007-7-16 0:51:33 > top of Java-index,Desktop,Core GUI APIs...
# 3
Use a JLabel to display the question and a JTextField for the answer.
camickra at 2007-7-16 0:51:33 > top of Java-index,Desktop,Core GUI APIs...