F
frostywintersopposite
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!!
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!!