WEBINAR:
On-Demand
Building the Right Environment to Support AI, Machine Learning and Deep Learning
Getting the attention of a user is easily achieved using java.awt.Toolkit.getDefaultToolkit.beep();
.
Listing 1.
public class Beep
{
public static void main(String args[])
{
Beep beep = new Beep();
beep.proceed();
}
private void proceed()
{
java.awt.Toolkit.getDefaultToolkit().beep();
}
}
Visit the DevX Tip Bank