summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/TestApplet.java (renamed from src/HelloSwingApplet.java)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HelloSwingApplet.java b/src/TestApplet.java
index 1a6a436..cba1811 100644
--- a/src/HelloSwingApplet.java
+++ b/src/TestApplet.java
@@ -3,10 +3,10 @@ import javax.swing.*; //This is the final package name.
//Swing releases before Swing 1.1 Beta 3.
import java.awt.*;
-public class HelloSwingApplet extends JApplet {
+public class TestApplet extends JApplet {
// This is a hack to avoid an ugly error message in 1.1.
- public HelloSwingApplet() {
+ public TestApplet() {
getRootPane().putClientProperty("defeatSystemEventQueueCheck",
Boolean.TRUE);
}