1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

use SWT beep instead of AWT!

This commit is contained in:
Michael Scharf 2007-04-11 01:37:32 +00:00
parent 4ea9553ee3
commit 966efba4b2

View file

@ -1635,10 +1635,7 @@ public class TerminalText implements Runnable, ControlListener {
* Process a BEL (Control-G) character.
*/
protected void processBEL() {
// ISSUE: Is there a better way to make a sound? This is not guaranteed to
// work on all platforms.
// TODO
java.awt.Toolkit.getDefaultToolkit().beep();
Display.getCurrent().beep();
}
/**