Hey , i have a some application that is run from commad prompt . Then it wil run until user wants to stop the Host . So, the problem it how can u catch the event from java that the user pressed [ctrl+c] and shut down the host.
SCJP 5.0 , SCDJWS
posted 11 years ago
I'd try to make a more gracious way to shut down. Maybe:
Does that make sense?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi