Results 1 to 3 of 3

Thread: java:How to Focus the control during Runtime?

  1. #1

    Thread Starter
    Lively Member softkans's Avatar
    Join Date
    May 2006
    Posts
    70

    java:How to Focus the control during Runtime?

    Hai Guys..
    How to Focus the particular control during load of your application.For example,if i run my java prg(SWING)..i have 3 textboxes in that...
    Among these..i want to focus the 3rd textbox during my application running..
    is there any methods in TextField package...pls clear my question.

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: java:How to Focus the control during Runtime?

    Code:
    jTextField2.requestFocus(false);
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3

    Thread Starter
    Lively Member softkans's Avatar
    Join Date
    May 2006
    Posts
    70

    Re: java:How to Focus the control during Runtime?

    thanks for ur reply..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width