java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

Oracle Community | 807549 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    set defaultCellEditor of JTable occurred an Exception

    Oracle Community | 1 decade ago | 807549
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  2. 0

    IllegalComponentStateException while in a JTable

    Oracle Community | 1 decade ago | 807587
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

    Root Cause Analysis

    1. java.awt.IllegalComponentStateException

      component must be showing on the screen to determine its location

      at java.awt.Component.getLocationOnScreen_NoTreeLock()
    2. Java RT
      Dialog.show
      1. java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1242)
      2. java.awt.Component.getLocationOnScreen(Component.java:1216)
      3. javax.swing.Autoscroller.mouseDragged(Autoscroller.java:82)
      4. javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2295)
      5. java.awt.Component.processEvent(Component.java:3548)
      6. java.awt.Container.processEvent(Container.java:1164)
      7. java.awt.Component.dispatchEventImpl(Component.java:2593)
      8. java.awt.Container.dispatchEventImpl(Container.java:1213)
      9. java.awt.Component.dispatchEvent(Component.java:2497)
      10. javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.repostEvent(BasicTableUI.java:438)
      11. javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mouseDragged(BasicTableUI.java:503)
      12. java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:260)
      13. java.awt.Component.processMouseMotionEvent(Component.java:3759)
      14. javax.swing.JComponent.processMouseMotionEvent(JComponent.java:2299)
      15. java.awt.Component.processEvent(Component.java:3548)
      16. java.awt.Container.processEvent(Container.java:1164)
      17. java.awt.Component.dispatchEventImpl(Component.java:2593)
      18. java.awt.Container.dispatchEventImpl(Container.java:1213)
      19. java.awt.Component.dispatchEvent(Component.java:2497)
      20. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
      21. java.awt.LightweightDispatcher.processMouseEvent(Container.java:2205)
      22. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
      23. java.awt.Container.dispatchEventImpl(Container.java:1200)
      24. java.awt.Window.dispatchEventImpl(Window.java:914)
      25. java.awt.Component.dispatchEvent(Component.java:2497)
      26. java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
      27. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
      28. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
      29. java.awt.Dialog.show(Dialog.java:380)
      29 frames
    3. cn.com.intuition
      TestApp$1.actionPerformed
      1. cn.com.intuition.pos.desktop.common.TestApp$1.actionPerformed(TestApp.java:36)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
      2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
      6. java.awt.Component.processMouseEvent(Component.java:3715)
      7. java.awt.Component.processEvent(Component.java:3544)
      8. java.awt.Container.processEvent(Container.java:1164)
      9. java.awt.Component.dispatchEventImpl(Component.java:2593)
      10. java.awt.Container.dispatchEventImpl(Container.java:1213)
      11. java.awt.Component.dispatchEvent(Component.java:2497)
      12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
      13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
      14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
      15. java.awt.Container.dispatchEventImpl(Container.java:1200)
      16. java.awt.Window.dispatchEventImpl(Window.java:914)
      17. java.awt.Component.dispatchEvent(Component.java:2497)
      18. java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
      19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
      20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
      21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      22. java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
      22 frames