1

I created a desktop application in netbeans ,up to yesterday it was well but now the requirements are changed and client want all JTextField as autocomplete , the source is databse, I googled and tried to find any suitable example for netbeans but i was not able to find such thing so please help me how can I implement auto complete thing in netbeans? Please help

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Ali
  • 10,774
  • 10
  • 56
  • 83
  • See [this](http://stackoverflow.com/questions/15219625/how-would-be-implements-autosugesion-in-jtextarea-swing/15220056#15220056) similar answer – David Kroukamp Mar 05 '13 at 21:33

2 Answers2

3

You can use auto-complete package

shan
  • 1,164
  • 4
  • 14
  • 30
  • this package of swingx but its not available in netbeans i think? or how can i use it – Ali Jun 01 '12 at 06:15
  • great , but i am issues here , i am able to open swinglabs.org due to time out, can u help me by attaching jar file please – Ali Jun 01 '12 at 06:26
  • @Ali please to check for links [great member of SwingX](http://stackoverflow.com/search?q=user:203657+[swingx]), in her profile are a few links to the current version SwingX 1.6.3 ... – mKorbel Jun 01 '12 at 06:38
  • now i get other errors , 1:Netbeans hangs when I add something from swingx , also – Ali Jun 01 '12 at 07:17
  • import org.jdesktop.swingx.autocomplete.AutoCompleteDecorator says package not found – Ali Jun 01 '12 at 07:18
2
  • you can use AutoComplete JComboBox/JTextField based on standard Java5/6 API,

  • SwingX has(I tried one two years back) package for pallete in NetBeans

  • you can use and combine SwingX packages in/with Swing GUI without any limitations

Community
  • 1
  • 1
mKorbel
  • 109,525
  • 20
  • 134
  • 319