91 |
|
|
92 |
if (testWindowCount == null) |
if (testWindowCount == null) |
93 |
{ |
{ |
94 |
// Synchronize on the system event queue when showing and |
// Initialize the applet before showing this window so that |
95 |
// initializing the applet so that it doesn't receive events |
// the applet doesn't receive events before it has been |
96 |
// before it has been initialized. |
// initialized. |
97 |
synchronized (Toolkit.getDefaultToolkit ().getSystemEventQueue ()) |
applet.init (); |
98 |
{ |
setVisible (true); |
|
setVisible (true); |
|
|
applet.init (); |
|
|
} |
|
|
|
|
99 |
applet.validate(); |
applet.validate(); |
100 |
applet.start(); |
applet.start(); |
101 |
} |
} |