Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4107910

SwingSet throws exception when restarted

XMLWordPrintable

    • swing1.0fcs
    • sparc
    • solaris_2.6
    • Verified

      SwingSet throws exception when restarted on Solaris 2.6 with JDK1.1.5, Swing-pre-1.0 January 29th build.

      Steps to reproduce:
      1) Launch swingset
      2) Select restart from Applet menu
      Result:
      The following exception occurs:

      Exception occurred during event dispatching:
      java.awt.IllegalComponentStateException: component must be showing on the screen
       to determine its location
              at java.awt.Component.getLocationOnScreen(Component.java:731)
              at com.sun.java.swing.SwingUtilities.convertPointToScreen(SwingUtilities
      .java:221)
              at com.sun.java.swing.MenuSelectionManager.processMouseEvent(MenuSelecti
      onManager.java:120)
              at com.sun.java.swing.basic.BasicMenuUI$MouseListener.mouseExited(BasicM
      enuUI.java:347)
              at java.awt.Component.processMouseEvent(Component.java:2290)
              at java.awt.Component.processEvent(Component.java:2129)
              at java.awt.Container.processEvent(Container.java:894)
              at java.awt.Component.dispatchEventImpl(Component.java:1764)
              at java.awt.Container.dispatchEventImpl(Container.java:939)
              at java.awt.Component.dispatchEvent(Component.java:1704)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:1548
      )
              at java.awt.LightweightDispatcher.setMouseTarget(Container.java:1509)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1473)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1392)
              at java.awt.Container.dispatchEventImpl(Container.java:926)
              at java.awt.Component.dispatchEvent(Component.java:1704)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
      sun.applet.AppletSecurityException: checkawteventqueueaccess
              at sun.applet.AppletSecurity.checkAwtEventQueueAccess(AppletSecurity.jav
      a: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:211)
              at com.sun.java.swing.TimerQueue.run(TimerQueue.java:240)
              at java.lang.Thread.run(Thread.java)

            tballsunw Tom Ball (Inactive)
            emedinasunw Eve Medina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: