This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTextField with hint list" Watch "JTextField with hint list" New topic
Author

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: 15299
    
    6

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTextField with hint list