Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.transferFocus()

 
Candy Bortniker
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wondering what this code should be doing. Here is the code:

I know I am getting to this code because "Good Limited Text Entered" is printing out but what I am expecting to see from GrpAcctNumber.transferFocus (); isn't happening. Do I need something in the ()?
[ March 10, 2004: Message edited by: Marilyn de Queiroz ]
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of object is GrpAcctNumber?
 
Candy Bortniker
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a LimitedTextContainer object from a class I created.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect that LimitedTextContainer inherits this method from another class. You can find information about the transferFocus() method by looking up the class that contains it in the Java API docs. Start by finding the class that LimitedTextContainer extends. The docs for this class will have a link to information about the transferFocus() method. Use the "Find in Page" feature of your browser to quickly find this link.
HTH
Layne
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Candy,
If it's not clear yet, the difficulty in trying to answer your question is that most Ranchers likely have little idea what a LimitedTextContainer is. Google doesn't even know.
Regarding your question whether you "need something in the ()", it depends. The somethings in the () are also referred to as method arguments.
I'm afraid I haven't a good clue as to what the transferFocus method does or what a LimitedTextContainer might be. Where did you get this LimitedTextContainer class?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic