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

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -