Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
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
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Swing / AWT / SWT
Gaining Focus...
Sathish Babu Adluru Subas
Greenhorn
Posts: 26
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi javacs,
My ques is that how can i gain the focus to the particular JTextField or JButton when my JFrame is opened? help me please.
paul wheaton
Trailboss
Posts: 23945
∞
I like...
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Those things all eventually inherit Component which has the requestFocus() method.
That's your ticket.
My book, my movies, my videos, my podcasts, my events ...
the big collection of paul wheaton stuff!
Sathish Babu Adluru Subas
Greenhorn
Posts: 26
posted 24 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
thanx Mr.Wheaton.
Nothing up my sleeve ... and ... presto! A tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Jack Up Browser Viewport
focus for hyperlink
how to give focus to a component ?
Is it a jdk1.4 focus problem, please help !!
How to detect FocusLost on JPanel
More...