[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

I want a beep

How do I make the machine beep (to notify a user of my program that new data has been received, even though they don't have focus on my program)?
0
jasbro
Asked:
jasbro
  • 2
1 Solution
 
imladrisCommented:
The Toolkit method in the AWT package provides a beep method. To use it you could  write:

Toolkit.getDefaultToolkit().beep();
0
 
imladrisCommented:
Was there anything else you needed clarified before grading the answer?
0
 
jasbroAuthor Commented:
Sorry, IS department decided that Y2K upgrades to our PC's should finally be done, I couldn't get to it till just now.
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now