Version 1.3 of Java 2 platform, currently in Beta, has a new java.awt.Robot class that lets you generate mouse and key events at system level. You can use this to enhance accessibility offered by your apps by programmatically generating key-press, key-release, mouse-move, mouse-press, and mouse-release. You can also use the Robot to write code for automated testing of key-board and mouse actions. For more info about new features of version 1.3 of Java, visit http://java.sun.com/products/jdk/1.3/.

