Secure Desktop Mode effect for java application
Posted
by
Aiden Strydom
on Stack Overflow
See other posts from Stack Overflow
or by Aiden Strydom
Published on 2012-10-19T21:43:08Z
Indexed on
2012/10/19
23:01 UTC
Read the original article
Hit count: 157
Does anyone now how to achieve a "Secure-Desktop Mode" (effect) such as one gets from the Windows Vista/7 UAC consent-blocks?
I assume it is some function which will remove pixels here-and-there (and possibly graying them) and then finally drawing that to screen... I would like to apply it to my application to keep the user from doing anything until the another user connects to the system (but that is besides the point)
I would really appreciate the advise.
Kind regards
A
EDIT: i was really only looking for this
graphicsFX.setColor(new Color(0, 0, 0, 0.8f));
graphicsFX.fillRect(0, 0, 800, 600);
the defering of input i can do quite well...
Thanks for all....
© Stack Overflow or respective owner