SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
I read the Tutorial on Key binding.
Will Barbee wrote:Rob Prime,
Yes, the Actions are initialized earlier in the program.
I did not include their code but it was something on the order of:
private Action actName;
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Michael Dunn wrote:
because, in reading through my references, I found that "the keyCode argument to getKeyStroke should be one of the VK_ virtual key constants defined by java.awt.event.KeyEvent".
Rob, it would help me more if you would tell me what the correct code is
Data entered into the two JTextFields is then stored into work fields for SQL update.
But I want to use the tab key to exit from the field and update the data and also move to the next JTextField.
I had wondered if I could use simple tab between fields with no program control.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
I do some of my very best work in water. Like this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|