The Artima Developer Community
Sponsored Link

Java Answers Forum
Disabling PrintScreen

1 reply on 1 page. Most recent reply: Aug 15, 2002 5:02 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
shakil siddque

Posts: 2
Nickname: shakil
Registered: Aug, 2002

Disabling PrintScreen Posted: Aug 15, 2002 4:03 PM
Reply to this message Reply
Advertisement
I need to disable PrintScreen Option from the Keyboard. For this, i have used AWT events and am able to capture all key-strokes. However, the "PrintScreen" button do not yeild anything. I need to get that. I have looked into the web, and have seen similar codes like the one i have used, but that doesn't work either.

Is there any other way out ?


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Disabling PrintScreen Posted: Aug 15, 2002 5:02 PM
Reply to this message Reply
This is an annoying thing to do to the hapless user. As an alternative to this kind of blatent jack-booted thuggery, I saw one applet that had a little animation flying over the artwork it displayed, so that if you did do a printscreen, the image would always somewhat obscured.

Trapping OS-level keyboard operations such as this will require system hooks in Windows (which you can't do with Java) and probably similar things in other OSes.

Flat View: This topic has 1 reply on 1 page
Topic: problems at compilation when I try to use packages Previous Topic   Next Topic Topic: Help!About hotKey!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use