From 966efba4b2af2d37204d4d33c7cc798477de796f Mon Sep 17 00:00:00 2001 From: Michael Scharf Date: Wed, 11 Apr 2007 01:37:32 +0000 Subject: [PATCH] use SWT beep instead of AWT! --- .../tm/internal/terminal/control/impl/TerminalText.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java b/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java index 096ab67d9eb..15c09ab65bd 100644 --- a/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java +++ b/terminal/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/control/impl/TerminalText.java @@ -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(); } /**