Hi Jeffrey, welcome to Pivot. First sorry for the big delay ... many time ago I wrote a simple test class, Pivot686 (under our tests subproject) to test the related issue (closed many time ago), and there I was forcing requestFocus on a TextInput component, at Application startup ... maybe a trick like this could help even in your case, when your component is losing focus.
On the disable focus on all other components don't know it could be a good solution (you can disable components but that would cause other effects too). If you really need something like this we can try to look for 2.1, but if you could post a minimal sample would be great. Bye, Sandro 2014-01-28 16:49 GMT+01:00 Jeffrey Law <jeffreylaw...@hotmail.com>: > Hi there, > I'm new to apache pivot. I was quite impressed with the speed and UI of the > framework > and that's the reason why I decided to migrate my POS application from > Swing. > But then half way thru I realized none of the following method can be found > for all the components: > setFocusable(false) > setFocusTraversalKeysEnabled(false) > setRequestFocusEnabled(false) > > As the application required the focus always stayed in the single text field > for the scanner input, > so I got to disable the focus requests for all other components. > I did tried on previewFocusedChange but still didn't managed to get it > works. > Can I have some hints or example on how to create a custom focus traversal > policy to the component which can allow me to disable the traversal > properties also? > Does anyone can share if there's any way to do this? Thanks in advance!! >