• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

.transferFocus()

 
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What kind of object is GrpAcctNumber?
 
Candy Bortniker
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is a LimitedTextContainer object from a class I created.
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic