Forum Discussion

ehaartmans's avatar
ehaartmans
Occasional Contributor
13 years ago

Keys operation on SwingObject not focusing on SwingObject ... ?

In a keyword test I have several Keys action which I perform on various editbox like SwingObjects in a Java app (not browser app).

In the Keys value I have also entered at the end the '[Enter]' command. With this command the cursor would be set to the next field.

When executing the keys action I notice that the cursor does not move to the keys field.

The Enter however results in the move to the next field.

Because the keys actions are on different fields in the schreen, the cursor is somewhere in the screen, depending on the Enters, not on the keys action.

For me this is annoying because fields are cleared when entering the next field.



Please don't tell me that I have to position the cursor with a click or so, but is there another option? I use the keys because this is how it is recorded.
No RepliesBe the first to reply