• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to create help file as soon as i enter the data into textfield  RSS feed

 
sanjeetkr26
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,
We are developing an application software and facing the problem like this, Suppose I have name
textfield ,now i want that as soon as I enter the data (even a single character) it should open a help file
containing several name according to that data(character) that is stored in database. now when we select the
required name the corresponding data should be retrieved from the data base.
Please solve my query with one example and mail me as soon as possible.
Thanks
With regards
Sanjeet
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the example in the tutorial http://java.sun.com/docs/books/tutorial/uiswing/components/textfield.html#validation The insertString() in the WholeNumberFielld example gets called each time a character(s) is placed in the field. Instead of dealing with numbers you just need to do whatever you want.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!