Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Block user input

Thread view: 
frostywintersopposite@gmail.com - 25 Oct 2006 15:05 GMT
Hello everyone, im trying to write an internet cafe program that locks
machines when they are not in use. My program is going to work by
displaying an image and blocking user input from both the mouse and the
key-board??

Thats where the problemm lies, i don't know how to achieve this. I have
tried implementing both the MouseListenter and KeyboardListener
interfaces and consuming events in each but i don't think its working
properly or not at all.

Do listeners perform an action after an initial action takes place??
And if this is the case would it be to late to consume an action once
it has already happened??

Also what component do i attach the listeners to for it to affect the
whole system??

Anwers on a poscard!!
Thomas Weidenfeller - 25 Oct 2006 15:10 GMT
> Hello everyone, im trying to write an internet cafe program that locks
> machines when they are not in use. My program is going to work by
> displaying an image and blocking user input from both the mouse and the
> key-board??

For Windows? What would be wrong with using the normal screensaver, and
configuring it so it requires a password?

/Thomas
Signature

The comp.lang.java.gui FAQ:
http://gd.tuwien.ac.at/faqs/faqs-hierarchy/comp/comp.lang.java.gui/
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq

Oliver Wong - 25 Oct 2006 17:17 GMT
>> Hello everyone, im trying to write an internet cafe program that locks
>> machines when they are not in use. My program is going to work by
[quoted text clipped - 3 lines]
> For Windows? What would be wrong with using the normal screensaver, and
> configuring it so it requires a password?

   Typically, you want to be able to force-kick a customer after a certain
period of time. E.g. the customer pays for 2 hours of usage, and after 2
hours, the customer should be locked out, with the option of purchasing more
time.

   I don't think you can do this using Java. I don't think a Java program
can block all input. In particular, CTRL-ALT-DEL or ALT-TAB might be
difficult to block.

   - Oliver
Carramba - 27 Oct 2006 21:00 GMT
>>> Hello everyone, im trying to write an internet cafe program that locks
>>> machines when they are not in use. My program is going to work by
[quoted text clipped - 11 lines]
> can block all input. In particular, CTRL-ALT-DEL or ALT-TAB might be
> difficult to block.
This is done in windows, by administrating user permissions, and doesn't
have anything to do with java
you just disallow user to change/do certain thing :D
>     - Oliver
frostywintersopposite@gmail.com - 03 Nov 2006 11:36 GMT
Thanks guys, and Carramba where might one find these user permissions??
Im not really a windows guy so im not to familiar with the file system.

> >>> Hello everyone, im trying to write an internet cafe program that locks
> >>> machines when they are not in use. My program is going to work by
[quoted text clipped - 15 lines]
> you just disallow user to change/do certain thing :D
> >     - Oliver
Gordon Beaton - 25 Oct 2006 17:23 GMT
> Hello everyone, im trying to write an internet cafe program that locks
> machines when they are not in use. My program is going to work by
> displaying an image and blocking user input from both the mouse and the
> key-board??

Search for OpenKiosk and see how they do it. I don't think Java is the
right tool for this job.

/gordon

Signature

[ don't email me support questions or followups ]
g o r d o n  +  n e w s  @  b a l d e r 1 3 . s e



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.