policy « Focus « Java Swing Q&A





1. Focus policy    coderanch.com

2. Focus Traversal Policy Question    coderanch.com

Hi everyone. I've got a question on Focus Traversal. I understand that focus traversal allows the program to move the focus of the components around. I'm curious as to how/if I can make it move Up/down/left/right(4 different directions). I will state more details on my program below. Basically, I've designed a GUI program that detects keypress(UP,DOWN,LEFT,RIGHT,ESCAPE) only. Currently, I've completed the ...