The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

disabling stdin

Posted by Matt Gerrans on October 10, 2001 at 6:00 PM

> how can I disable CTRL, ALT or DEL keys with Java.
> can I disable calling of task manager in win (CTRL,ALT,DEL - my favorite in windows)?

Disabling CTRL, ALT or DEL keys is not all the same thing as disabling stdin and it cannot be done in Java. It isn't even very easy to do using the Windows API in C, using hookprocs, because of the different flavors of windows (are you talking about Windows 3.1, 95, 98, Me, NT, XP, 2000...?).

If you really need to do this (eg. for kiosk-type setup), you are probably better off using a third-party tool that locks up the system and prevents users from getting to the underlying OS.

- mfg




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us