How do I use Java to make a text field with auto-complete?

pacifique Mwene October 26, 2011
Pinterest Stumbleupon Whatsapp

I need to use an input component like a text field or an editable choice or a list with an auto-complete feature. That means when you enter a letter a list of all words starting with that or those letters appears. It’s a mobile phone application, using J2ME. Does anyone know how to do this?

Ads by Google

  1. Jeff Fabish
    October 27, 2011 at 7:38 am

    Hi Pacifique Mwene, 

    Is this what you're looking for? That's just a source file, so here is a tutorial to help you. 

    I'd help you out more, but Java isn't my language of choice ;)

    • pacifique mwene
      October 27, 2011 at 8:41 am

      Hi Jeff Fabish
      thank you for the suggestion. i am trying to write a mobile application with J2ME using netbeans IDE.but this feature can't work.any other idea will be appreciated. thanks