Hi
I have a Jtextfield when ever I click on textfield I want to open OSK(On Screen Keyboard) of Windows 8 OS and windows 7.
I tried in below mentioned way to open and close in focus listener focusGained() and focusLost() but it is not working. could some body do needful.
Opening OSK:
builder = new ProcessBuilder("cmd /c " + sysroot + " /System32/osk.exe");
Closing Osk:
Runtime.getRuntime().exec("taskkill /f /im osk.exe");