Floating component

Hello,

I'm creating a form with a bunch of text fields. When a text field gains focus, to make input a bit easier for the user, I would like to have some sort of component containing a JTextArea appear over the text field, sort of like in Netbeans when you hover the pointer above folded code, only with the ability to modify the contents.

I thought that a JPanel would work, but I don't want the component added to the parent and then removed. The closest easily-accessible example I can find is Answers.com's search assistant: http://www.answers.com/, only the component should be displayed immediately above the text field.

Sorry about the confusing presentation. I don't know what this effect is called, and it doesn't seem to be very widely used in applications.

I don't need code examples, just a direction to the appropriate container, if one exists!

Thanks a bunch!

Joe

[927 byte] By [Joe_ha] at [2007-11-27 8:20:52]
# 1
Not sure how displaying a JTextArea makes it easier to enter data in a JTextField.Anyway, you would use a JWindow or a JDialog without decorations.
camickra at 2007-7-12 20:09:17 > top of Java-index,Desktop,Core GUI APIs...
# 2
Sorry,Not necessarily easier, just gives the user more room to see what's being entered.Thanks!Joe
Joe_ha at 2007-7-12 20:09:17 > top of Java-index,Desktop,Core GUI APIs...