--- a/jdk/src/share/classes/sun/applet/AppletPanel.java Fri Apr 17 16:42:14 2009 +0400
+++ b/jdk/src/share/classes/sun/applet/AppletPanel.java Mon Apr 20 14:41:24 2009 -0400
@@ -45,7 +45,6 @@
import java.util.Collections;
import java.util.Locale;
import java.util.WeakHashMap;
-import javax.swing.SwingUtilities;
import sun.awt.AppContext;
import sun.awt.EmbeddedFrame;
import sun.awt.SunToolkit;
@@ -450,7 +449,7 @@
try {
final AppletPanel p = this;
- SwingUtilities.invokeAndWait(new Runnable() {
+ EventQueue.invokeAndWait(new Runnable() {
public void run() {
p.validate();
}
@@ -480,7 +479,7 @@
final AppletPanel p = this;
final Applet a = applet;
- SwingUtilities.invokeAndWait(new Runnable() {
+ EventQueue.invokeAndWait(new Runnable() {
public void run() {
p.validate();
a.setVisible(true);
@@ -514,7 +513,7 @@
try {
final Applet a = applet;
- SwingUtilities.invokeAndWait(new Runnable() {
+ EventQueue.invokeAndWait(new Runnable() {
public void run()
{
a.setVisible(false);