Link to home
Start Free TrialLog in
Avatar of GoofyJoe99
GoofyJoe99

asked on

sendkeys in java?

I usually work with vb and occasionally use sendkeys even though I understand that its bad programming practice. Is there a way to sendkeys with java?
Avatar of diakov
diakov

What is send keys? Post key events in the System queue? I can give you an example of that, if this is what you need.
Avatar of GoofyJoe99

ASKER

Sendkeys is a small method that is equivalent to pressing a key on the keyboard.
Ex.- In VB        
SendKeys "{Tab}"      - is equivalent to hitting the tab key on the keyboard
SendKeys "{Enter}"   - hits the enter key

Can any of this be done in java?
ASKER CERTIFIED SOLUTION
Avatar of diakov
diakov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Btw, this is not an 'easy' question :-)
ha, your right diakov, this is not an easy question. The only reason I thought it was easy is because its so easy to do in VB. I realize that its a complicated process in Java and I better start diggin my brain.