Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > denying access to computer

denying access to computer
Thread Tools
Fresh-Faced Recruit
Join Date: Mar 2002
Status: Offline
Reply With Quote
Apr 1, 2002, 04:22 AM
 
Hey there,

I'm writing a java application which needs to lock access to the computer, I managed to do this on a PC by creating an 'always on top' window and then disabling ctrl+alt+del and alt+tab, so the user couldn't shut the application down. I'm a bit of a newbie when it comes to developing on a mac (I like what i see so far though) so any help would be greatly appreciated.

Cheers

James Wilson
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Apr 1, 2002, 12:16 PM
 
You can do this with CoreGraphics, but that's a C API so you'll probably have to use JNI if you want to call it from Java. Yuck.
     
Fresh-Faced Recruit
Join Date: Mar 2002
Status: Offline
Reply With Quote
Apr 2, 2002, 05:44 AM
 
Cheers, do you know any good resources for this?

James
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Apr 2, 2002, 05:01 PM
 
The headers.
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Apr 3, 2002, 06:33 PM
 
Originally posted by Angus_D:
<STRONG>The headers. </STRONG>
I've found that the headers are just about the best documentation available for all the frameworks. The upside: you know there is nothing more to it. The downside: some functions you are expected to understand just by their names.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Apr 4, 2002, 11:43 AM
 
Actually come to think of it, I might have seen a technote or q&a on Direct Display.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:29 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2