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
Focus on Text at the opening of shell
Antonello Grimaldi
Greenhorn
Posts: 3
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello everybody,
I have a shell that contains a Text widget. I would that at the opening of shell the Text widget is in focus, and the text inside the widget is allselected.
How can I do this? Method setFocus() do not work.
thanks....
Antonello
Rob Camick
Rancher
Posts: 3324
32
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Cross-posted
Maneesh Godbole
Bartender
Posts: 11497
19
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Rob.
Antonello,
Please read
http://faq.javaranch.com/java/BeForthrightWhenCrossPostingToOtherSites
[
How to ask questions
] [
Donate a pint, save a life!
] [
Onff-turn it on!
]
Antonello Grimaldi
Greenhorn
Posts: 3
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'm sorry, I didn't know this rule...
There is no "i" in denial. 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
help with understanding code
[SWT] resize problem
SWT setFocus doesn't work
[SWT] Text resize problem
js event help
More...