Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java JTextfield

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Thanked 0 Times in 0 Posts

    Default Java JTextfield


    How to do autocomplete to JTextfield

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: Java JTextfield

    Do you mean you want to create a JTextField for user input that has the ability to auto-complete or offer completion suggestions while the user types? If so, the program will monitor each keystroke and look for possible completions from a list of possibilities, offering them to the user in a selectable popup of some sort. You may find suggestions of how to do this on the Internet.

    If this is not what you had in mind, please explain better.

Similar Threads

  1. [SOLVED] JTextfield
    By usherlad in forum Java Theory & Questions
    Replies: 4
    Last Post: August 22nd, 2012, 11:24 AM
  2. Java Connect to MySQL using jTextfield, jbuttons in NetBeans
    By Light Mike in forum JDBC & Databases
    Replies: 2
    Last Post: August 11th, 2012, 10:41 PM
  3. JTextField
    By Karthik Prabhu in forum AWT / Java Swing
    Replies: 7
    Last Post: June 20th, 2012, 10:54 AM
  4. Assign Default values to the JTextfield in java swing
    By sjohnfernandas in forum AWT / Java Swing
    Replies: 1
    Last Post: December 17th, 2011, 06:59 AM
  5. Replies: 6
    Last Post: January 28th, 2011, 01:13 AM