Hi.
A reader asked how to get his program to make a BEEP whenever a user clicks a button. The simplest way of doing this is to import the java.awt.Toolkit library and then add the following code to your application :
 
Toolkit beeper = Toolkit.getDefaultToolkit();
beeper.beep();
Until next time.
 
Sunday, April 27, 2008
Subscribe to:
Post Comments (Atom)
 
 
 
 Posts
Posts
 
 
No comments:
Post a Comment