File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTextField with hint list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextField with hint list" Watch "JTextField with hint list" New topic

JTextField with hint list

Michael Wiezik
Ranch Hand

Joined: Mar 19, 2004
Posts: 70
I need JTextField with hint list: when user types letters into text field, the panel containing possible options appears below. The same idea is used in every IDE (e.g. listing all possible class methods). Is there any such component in Swing?

SCJP 1.4 - 88%
SCBCD 5.0 - 90%
SCEA - 81%
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

There is not such a component in Swing. You would have to make one yourself or find one someone else has custom built.

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: JTextField with hint list
It's not a secret anymore!