java.lang.IllegalArgumentException: adding a window to a container

Stack Overflow | Ryan Teller | 4 months ago
  1. 0

    Calling a method on a JTabbedPane

    Stack Overflow | 4 months ago | Ryan Teller
    java.lang.IllegalArgumentException: adding a window to a container
  2. 0

    Why is Bar Chart not executing?

    Stack Overflow | 2 years ago | CVYC CVYC
    java.lang.IllegalArgumentException: adding a window to a container
  3. 0

    KeyListener in other class

    Stack Overflow | 2 years ago | Sojtin
    java.lang.IllegalArgumentException: adding a window to a container
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Converting JApplet into JPanel for use in another class

    Stack Overflow | 2 years ago | Aizar
    java.lang.IllegalArgumentException: adding a window to a container
  6. 0

    Java Error: IllegalArgumentException: adding a window to a container

    Stack Overflow | 4 years ago | user2444472
    java.lang.IllegalArgumentException: adding a window to a container

  1. rp 1 times, last 11 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    adding a window to a container

    at java.awt.Container.checkNotAWindow()
  2. Java RT
    Container.add
    1. java.awt.Container.checkNotAWindow(Container.java:488)
    2. java.awt.Container.addImpl(Container.java:1089)
    3. java.awt.Container.add(Container.java:415)
    3 frames
  3. GUI.PT
    ProgressStatsPT$7.mouseClicked
    1. GUI.PT.ProgressStatsPT.panelWeightMouseClicked(ProgressStatsPT.java:392)
    2. GUI.PT.ProgressStatsPT.access$600(ProgressStatsPT.java:26)
    3. GUI.PT.ProgressStatsPT$7.mouseClicked(ProgressStatsPT.java:138)
    3 frames
  4. Java RT
    EventDispatchThread.run
    1. java.awt.Component.processMouseEvent(Component.java:6528)
    2. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    3. java.awt.Component.processEvent(Component.java:6290)
    4. java.awt.Container.processEvent(Container.java:2234)
    5. java.awt.Component.dispatchEventImpl(Component.java:4881)
    6. java.awt.Container.dispatchEventImpl(Container.java:2292)
    7. java.awt.Component.dispatchEvent(Component.java:4703)
    8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
    9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)
    10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
    11. java.awt.Container.dispatchEventImpl(Container.java:2278)
    12. java.awt.Window.dispatchEventImpl(Window.java:2750)
    13. java.awt.Component.dispatchEvent(Component.java:4703)
    14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    15. java.awt.EventQueue.access$500(EventQueue.java:97)
    16. java.awt.EventQueue$3.run(EventQueue.java:709)
    17. java.awt.EventQueue$3.run(EventQueue.java:703)
    18. java.security.AccessController.doPrivileged(Native Method)
    19. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    20. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    21. java.awt.EventQueue$4.run(EventQueue.java:731)
    22. java.awt.EventQueue$4.run(EventQueue.java:729)
    23. java.security.AccessController.doPrivileged(Native Method)
    24. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    25. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    26. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    27. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    28. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    29. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    30. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    31. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    31 frames