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

Oracle Community | 807587 | 1 decade ago
  1. 0

    Problem in JList rendering

    Oracle Community | 1 decade ago | 807587
    java.lang.IllegalArgumentException: adding container's parent to itself
  2. 0

    How to use more than one JPanel with Grouplayout

    Stack Overflow | 3 years ago | user2933563
    java.lang.IllegalArgumentException: GroupLayout can only be used with one Container at a time
  3. 0

    Why I obtain this error when I try to add the Container object to the main JFrame object using Swing?

    Stack Overflow | 3 years ago | AndreaNobili
    java.lang.IllegalArgumentException: adding container's parent to itself
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Container inside of a container - Java | DaniWeb

    daniweb.com | 1 year ago
    java.lang.IllegalArgumentException: adding container's parent to itself
  6. 0

    I'm having trouble setting up a jpanel and frame

    Stack Overflow | 3 years ago | user2980790
    java.lang.IllegalArgumentException: adding container's parent to itself

    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.addImpl()
    2. Java RT
      Component.setVisible
      1. java.awt.Container.addImpl(Unknown Source)
      2. javax.swing.CellRendererPane.addImpl(Unknown Source)
      3. java.awt.Container.add(Unknown Source)
      4. javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
      5. javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
      6. javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
      7. javax.swing.JComponent.getPreferredSize(Unknown Source)
      8. javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
      9. java.awt.Container.layout(Unknown Source)
      10. java.awt.Container.doLayout(Unknown Source)
      11. java.awt.Container.validateTree(Unknown Source)
      12. java.awt.Container.validateTree(Unknown Source)
      13. java.awt.Container.validateTree(Unknown Source)
      14. java.awt.Container.validateTree(Unknown Source)
      15. java.awt.Container.validateTree(Unknown Source)
      16. java.awt.Container.validateTree(Unknown Source)
      17. java.awt.Container.validate(Unknown Source)
      18. java.awt.Window.show(Unknown Source)
      19. java.awt.Component.show(Unknown Source)
      20. java.awt.Component.setVisible(Unknown Source)
      20 frames
    3. Unknown
      ListRendererExample.main
      1. ListRendererExample.<init>(ListRendererExample.java:40)
      2. ListRendererExample.main(ListRendererExample.java:56)
      2 frames