This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Signal Handling inJava  RSS feed

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
How do we do Signal Handling in Java.
IS there any in built api set..
i saw something coming up in Java 2 v1.4,but
could find tutorials for it!!!
can anyone through light on this please
Thanks and Regards
vinaya
 
author
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly do you mean by signal handling? Digital signal processing? regular IO? Wireless? Remote Messaging? A few more details might help here
Sean
 
vinaya kumar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Sorry for not being descriptive.
w.r.t a GUI Application,
I am running an Application,At that point ,
user wants to close the Application abruptly.
say "ctrl c" which can cause SIGINT or ALT F4.
How do i determing in my application these signals.
 
vinaya kumar
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Sorry for not being descriptive.
w.r.t a GUI Application,
I am running an Application,At that point ,
user wants to close the Application abruptly.
say "ctrl c" which can cause SIGINT or ALT F4.
How do i determine in my application these signals.

I hope i am clear
Thanks and Regards
vinaya
 
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just spotted a new article on IBM DeveloperWorks site that might help you out

Java signal handling and termination
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!