src/share/classes/java/awt/Toolkit.java
Print this page
*** 1237,1247 ****
return getPrintJob(frame, jobtitle, null);
}
}
/**
! * Emits an audio beep.
* @since JDK1.1
*/
public abstract void beep();
/**
--- 1237,1253 ----
return getPrintJob(frame, jobtitle, null);
}
}
/**
! * Emits an audio beep using the corresponding system function:
! * <ul>
! * <li>on Windows it's <code>MessageBeep(MB_OK)</code></li>
! * <li>on Mac OS X - <code>NSBeep()</code></li>
! * <li>on Solaris and Linux - <code>XBell()</code></li>
! * </ul>
! * Thus, emitting depends on system settings and hardware capabilities.
* @since JDK1.1
*/
public abstract void beep();
/**