• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thinlet question

 
Sundar Ram
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Im using thinlet in my applet and I wanted to send a down arrow key stroke(i.e Equivalent of pressing the
Down arrow key) to the table component through the code. So i came
across the setKeystroke() thinlet API. I dont know how to use this
function. i.e I dont know exactly what is the parameter i need to pass
it to send the down arrow key.Can we use
java.awt.event.KeyEvent.VK_DOWN as one of the parameter? Which
parameter is what? I didnt find much documentation for this thinlet
API.


public void setKeystroke(java.lang.Object component, java.lang.String
key, java.lang.String value)


Kindly help


-Sundar
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thinlet appears to be a GUI toolkit, so I'm moving this to the Swing/AWT forum. Please continue there.
 
Sundar Ram
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Joe
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic