• 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

Focus in SWT

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a composite, which itself can hae multilpe compiosites and control.
When I keep on pressing TAB, the focus would traverse through all the components and finally wrap to the first component.
Now I want to know, given a composite, the first and the last component in the focus cycle.
Its easy to do in Swing, but I am not sure how to do it in SWT.

Thanks already.
 
Suraj Chandran
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No ideas

I thought for SWT guys this must be simple.
 
Suraj Chandran
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[A man running throught the streets, shouting] Help Help!!
 
Sheriff
Posts: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Patience Is A Virtue. Not everybody is checking these forums every single hour of the day. There is sure to be someone coming along with an answer, so just wait a bit more. You shouldn't bump threads before at least one day has past.
 
Suraj Chandran
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh!. Thanks for that Budha stuff, I actually forgot that, guess I need to go back to school
That was good for a start anyway, atleast people are reading

 
Suraj Chandran
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No answers
Just some hint to right direction would also suffice
 
Suraj Chandran
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok...What I want is something as simple as this but in SWT:
getFocusTraversalPolicy().getFirstComponent(comp); and
getFocusTraversalPolicy().getLastComponent(comp);

Is there equivalent stuff in SWT.
[Doctors rushing throught the doors:"This guys is alomost gone mad, he just keeps on shouting Help Help..."]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic