How To Block Input in Java? -



How To Block Input in Java? -

how can block input keyboard , mouse when java application running. block input in autoit blockinput(1) , want same in java.

i can reply swing application. main frame should have this

jframe frame = new jframe(); frame.setdefaultcloseoperation(jframe.do_nothing_on_close); //or if using awt frame frame = new frame(); frame.addwindowlistener(new windowadapter() { // handle window closing event here });

java

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -