This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I would like to know is it possible to write an event to use the page up and page down key on the key board to scroll up and down on a web page. What I have read is that the Event Listeners are used in applets to call a key when a keyboard is pressed. I don't write applets, just front end JSPs with backend servlets. Is it even possible to do this though I have never been able to use pageup pagedown keys on web pages. Just wondering if anyone has even thought or tried. Thanks!
You can use the Robot class to post key events to the event queue. You should be able to scroll by posting VK_PAGE_UP or VK_PAGE_DOWN. There was an example of it posted in this thread http://www.javaranch.com/ubb/Forum1/HTML/001678.html
"JavaRanch, where the deer and the Certified play" - David O'Meara