my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Thinlet question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Thinlet question" Watch "Thinlet question" New topic
Author

Thinlet question

Sundar Ram
Ranch Hand

Joined: May 22, 2006
Posts: 102
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


SCJP 5.0 | SCWCD 1.4
http://heysundar.blogspot.com
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Thinlet appears to be a GUI toolkit, so I'm moving this to the Swing/AWT forum. Please continue there.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Sundar Ram
Ranch Hand

Joined: May 22, 2006
Posts: 102
Thanks Joe
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Thinlet question
 
Similar Threads
how to map Custom keys to JComboBox Scroll aaction
I'm having trouble with my game...
How to scroll the contents of table in thinlet?
navigating JTextFields via up/down keys
Component diagrams - dependency and association?