java.lang.IllegalArgumentException: adding container's parent to itself

Coderanch | Mandar Khire | 5 years ago
  1. 0

    Dragging behavior of Array of JPanels & Jbutton

    Coderanch | 5 years ago | Mandar Khire
    java.lang.IllegalArgumentException: adding container's parent to itself
  2. 0

    Layering a button over a painting

    Stack Overflow | 4 years ago | 0x6B6F77616C74
    java.lang.IllegalArgumentException: illegal component position
  3. 0

    JWebBrowser and docking FW undock problem

    djproject | 7 years ago | oner1
    java.lang.IllegalArgumentException: component and container should be in the same top-level window
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    setting ZOrder for components..!!

    Oracle Community | 1 decade ago | 843805
    java.lang.IllegalArgumentException: illegal component position
  6. 0

    Can't load file: java.lang.IllegalArgumentException: illegal component position 9 should be less then 9

    GitHub | 4 years ago | miho
    java.lang.IllegalArgumentException: illegal component position 9 should be less then 9

    1 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 container's parent to itself

      at java.awt.Container.checkAddToSelf()
    2. Java RT
      Container.setComponentZOrder
      1. java.awt.Container.checkAddToSelf(Unknown Source)
      2. java.awt.Container.checkAdding(Unknown Source)
      3. java.awt.Container.setComponentZOrder(Unknown Source)
      3 frames
    3. Unknown
      simpleExample$Dragger.mousePressed
      1. simpleExample$Dragger.mousePressed(simpleExample.java:150)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. java.awt.Component.processMouseEvent(Unknown Source)
      2. javax.swing.JComponent.processMouseEvent(Unknown Source)
      3. java.awt.Component.processEvent(Unknown Source)
      4. java.awt.Container.processEvent(Unknown Source)
      5. java.awt.Component.dispatchEventImpl(Unknown Source)
      6. java.awt.Container.dispatchEventImpl(Unknown Source)
      7. java.awt.Component.dispatchEvent(Unknown Source)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      9. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      10. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      11. java.awt.Container.dispatchEventImpl(Unknown Source)
      12. java.awt.Window.dispatchEventImpl(Unknown Source)
      13. java.awt.Component.dispatchEvent(Unknown Source)
      14. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      15. java.awt.EventQueue.access$000(Unknown Source)
      16. java.awt.EventQueue$1.run(Unknown Source)
      17. java.awt.EventQueue$1.run(Unknown Source)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      20. java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      21. java.awt.EventQueue$2.run(Unknown Source)
      22. java.awt.EventQueue$2.run(Unknown Source)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      25. java.awt.EventQueue.dispatchEvent(Unknown Source)
      26. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      27. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      28. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      29. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      30. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      31. java.awt.EventDispatchThread.run(Unknown Source)
      31 frames