Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Opening and closing osk form java program on windows 8

996280Aug 19 2013

Hi

I want to open Osk when ever I click on any text field in windows 8.

I tried in below mentioned way to open and close but it is usefull. could some body help in opening and closing osk properly on windows 8

Opening OSK:

builder = new ProcessBuilder("cmd /c " + sysroot + " /System32/osk.exe");

Closing Osk:

Runtime.getRuntime().exec("taskkill /f /im osk.exe");

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2013
Added on Aug 19 2013
0 comments
549 views