The defaultCloseOperation()
in my JFrame is set to DO_NOTHING_ON_CLOSE
. The IDE shows that the program is still running and there is no way to get the JFrame
back.
I want to know, how do I get the JFrame
to be visible again if a certain key combination is pressed like SHIFT+V
? Like in some parental control and surveillance softwares
I know KeyListener
can not be used cause it needs something focussable to which input can be sent... so what is the way around ??
Can it reappear when some keys are pressed ?