|
I know it is probably not easy to attach your swing code but without seeing anything all I can tell you is that I had a similar issue and I created a new class that overrode the LayoutFocusTraversalPolicy class. Inside this I applied all the if/then/else business logic and then in the screen class I set the jPanel.setFocusTraversalPolicy(myTravelsalPolicy). anyway, that is the short and sweet of it. There is a lot more to it than that but start there.
|