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

Oracle Community | 807596 | 1 decade ago
  1. 0

    Importing JInternalFrame in Package

    Oracle Community | 1 decade ago | 807596
    java.lang.IllegalArgumentException: adding a window to a container
  2. 0

    KeyListener in other class

    Stack Overflow | 2 years ago | Sojtin
    java.lang.IllegalArgumentException: adding a window to a container
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    java.awt.Container.checkNotAWindow error in simple gui

    Stack Overflow | 4 years ago | andy
    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.addImpl()
  2. Java RT
    Container.add
    1. java.awt.Container.addImpl(Container.java:616)
    2. javax.swing.JLayeredPane.addImpl(JLayeredPane.java:204)
    3. java.awt.Container.add(Container.java:518)
    3 frames
  3. Unknown
    MenuMain$3.actionPerformed
    1. MenuMain.jButton1ActionPerformed(MenuMain.java:276)
    2. MenuMain.access$200(MenuMain.java:11)
    3. MenuMain$3.actionPerformed(MenuMain.java:159)
    3 frames
  4. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    6. java.awt.Component.processMouseEvent(Component.java:5100)
    7. java.awt.Component.processEvent(Component.java:4897)
    8. java.awt.Container.processEvent(Container.java:1569)
    9. java.awt.Component.dispatchEventImpl(Component.java:3615)
    10. java.awt.Container.dispatchEventImpl(Container.java:1627)
    11. java.awt.Component.dispatchEvent(Component.java:3477)
    12. javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispatcher.retargetMouseEvent(BasicInternalFrameUI.java:1420)
    13. javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispatcher.forwardMouseEvent(BasicInternalFrameUI.java:1356)
    14. javax.swing.plaf.basic.BasicInternalFrameUI$GlassPaneDispatcher.mouseReleased(BasicInternalFrameUI.java:1286)
    15. java.awt.Component.processMouseEvent(Component.java:5100)
    16. java.awt.Component.processEvent(Component.java:4897)
    17. java.awt.Container.processEvent(Container.java:1569)
    18. java.awt.Component.dispatchEventImpl(Component.java:3615)
    19. java.awt.Container.dispatchEventImpl(Container.java:1627)
    20. java.awt.Component.dispatchEvent(Component.java:3477)
    21. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    22. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    23. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    24. java.awt.Container.dispatchEventImpl(Container.java:1613)
    25. java.awt.Window.dispatchEventImpl(Window.java:1606)
    26. java.awt.Component.dispatchEvent(Component.java:3477)
    27. java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    28. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    29. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    30. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    31. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    32. java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    32 frames