I've managed to get it works on org.apache.pivot.wtk.Sheet also.
But the thing is when I press the TAB key in a TextInput, I keep having the
following exception
which I've no idea no to catch the exception:
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
at org.apache.pivot.wtk.Container$1.check(Container.java:935)
at org.apache.pivot.wtk.Container.assertEventDispatchThread(Container.java:958)
at org.apache.pivot.wtk.Container.assertEventDispatchThread(Container.java:925)
at org.apache.pivot.wtk.Container.getLength(Container.java:260)
at
org.apache.pivot.wtk.skin.ContainerSkin$IndexFocusTraversalPolicy.getNextComponent(ContainerSkin.java:68)
at org.apache.pivot.wtk.Container.transferFocus(Container.java:543)
at org.apache.pivot.wtk.Component.transferFocus(Component.java:2435)
at org.apache.pivot.wtk.Container.transferFocus(Container.java:540)
at org.apache.pivot.wtk.Container.transferFocus(Container.java:551)
at org.apache.pivot.wtk.Container.transferFocus(Container.java:551)
at org.apache.pivot.wtk.Container.transferFocus(Container.java:551)
at org.apache.pivot.wtk.Component.transferFocus(Component.java:2435)
at org.apache.pivot.wtk.Container.transferFocus(Container.java:560) ....