-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
swing1.0fcs
-
x86
-
windows_nt
-
Verified
To reproduce this problem, run the SwingSet demo in appletviewer. Switch to the ProgressBar tab and have the applet "Start Loading Text" by pressing the button. Go to the "Applet" menu of Appletviewer as it begins to type into the text field and issue a command to Stop before the Progress Bar is finished. The following exception is thrown:
sun.applet.AppletSecurityException: checkawteventqueueaccess
at sun.applet.AppletSecurity.checkAwtEventQueueAccess(AppletSecurity.java:716)
at java.awt.Toolkit.getSystemEventQueue(Toolkit.java:655)
at com.sun.java.swing.Timer.post(Timer.java:259)
at com.sun.java.swing.TimerQueue.postExpiredTimers(TimerQueue.java:204)
at com.sun.java.swing.TimerQueue.run(TimerQueue.java:233)
at java.lang.Thread.run(Thread.java:474)
Restarting or reloading the applet following this exception doesn't work. The applet doesn't respond appropriately to user input. The user has to quit the appletviewer and start from scratch.
elizabeth.mezias@Eng 1998-02-06
Using Windows NT and the build available in /usr/local/java/swing-1.0, I found that the exception is not being thrown when I stop the ProgressBar of the SwingSet applet in appletviewer, but the ProgressBar portion of the applet does not paint correctly after the stop. Its panel doesn't paint and update following a reload or restart of the applet. Changes in the text of the panel can be seen after switching to another panel Other parts of the SwingSet continue to work as promised.
The problem is not completely fixed.
- relates to
-
JDK-4110334 Painting fails following a stop in the SwingSet demo
-
- Closed
-