A
Aleksey Gureev
Hi Nutcrackers!
Here's one interesting problem for you. I need to check the state of
the modifiers during the startup sequence of the application to see if
some special action should be taken. Imagine holding CTRL for the
complete database reset and ALT to call the configuration wizard. The
check is supposed to be performed right after the splash screen comes
up (Swing is initialized).
The question is if there is a place (hidden?) where the present
keyboard modifiers state is held and could be queried? One way I
imagine is to add a key listener code to the splash screen, but it's a
kludge in my view.
Any bright ideas?
Thanks,
-- Aleksey
Here's one interesting problem for you. I need to check the state of
the modifiers during the startup sequence of the application to see if
some special action should be taken. Imagine holding CTRL for the
complete database reset and ALT to call the configuration wizard. The
check is supposed to be performed right after the splash screen comes
up (Swing is initialized).
The question is if there is a place (hidden?) where the present
keyboard modifiers state is held and could be queried? One way I
imagine is to add a key listener code to the splash screen, but it's a
kludge in my view.
Any bright ideas?
Thanks,
-- Aleksey