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

Coderanch | Igor Mechnikov | 6 years ago
  1. 0

    Can JFrame be added to a container?

    Coderanch | 6 years ago | Igor Mechnikov
    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 10 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:1061)
    2. java.awt.Container.add(Container.java:377)
    2 frames
  3. Unknown
    JFrameInAContainerTest.main
    1. JFrameInAContainerTest.main(JFrameInAContainerTest.java:11)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:616)
    4 frames
  5. edu.rice.cs
    JavacCompiler.runCommand
    1. edu.rice.cs.drjava.model.compiler.JavacCompiler.runCommand(JavacCompiler.java:271)
    1 frame