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

Coderanch | Rani Vish | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Adding Components in JSplitPane

    Coderanch | 1 decade ago | Rani Vish
    java.lang.IllegalArgumentException: adding a window to a container
  2. 0

    Adding Components in JSplitPane

    Coderanch | 1 decade ago | Rani Vish
    java.lang.IllegalArgumentException: adding a window to a container
  3. 0

    Adding Components in JSplitPane

    Coderanch | 1 decade ago | Rani Vish
    java.lang.IllegalArgumentException: adding a window to a container
  4. Speed up your debug routine!

    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
      JSplitPane.<init>
      1. java.awt.Container.addImpl(Container.java:616)
      2. javax.swing.JSplitPane.addImpl(JSplitPane.java:1006)
      3. java.awt.Container.add(Container.java:518)
      4. javax.swing.JSplitPane.setRightComponent(JSplitPane.java:495)
      5. javax.swing.JSplitPane.<init>(JSplitPane.java:333)
      5 frames
    3. com.test
      TabbedPaneEx1.main
      1. com.test.TabbedPaneEx1.jbInit(TabbedPaneEx1.java:36)
      2. com.test.TabbedPaneEx1.<init>(TabbedPaneEx1.java:27)
      3. com.test.TabbedPaneEx1.main(TabbedPaneEx1.java:60)
      3 frames