java.lang.IllegalArgumentException: cannot add to layout: constraint mu be a string (or null)

Oracle Community | 807554 | 1 decade ago
  1. 0

    Container add() method

    Oracle Community | 1 decade ago | 807554
    java.lang.IllegalArgumentException: cannot add to layout: constraint mu be a string (or null)
  2. 0

    what does this Java programming error mean?

    javaprogrammingforums.com | 6 months ago
    java.lang.IllegalArgumentException: adding container's parent to itself
  3. 0

    Startet nicht unter MacOS 10.10 Yosemite

    GitHub | 2 years ago | james-woods
    java.lang.IllegalArgumentException: cannot add to layout: unknown constraint: LEFT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    KeyListener in other class

    Stack Overflow | 2 years ago | Sojtin
    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

    cannot add to layout: constraint mu be a string (or null)

    at java.awt.BorderLayout.addLayoutComponent()
  2. Java RT
    Container.add
    1. java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:401)
    2. javax.swing.JRootPane$1.addLayoutComponent(JRootPane.java:453)
    3. java.awt.Container.addImpl(Container.java:482)
    4. java.awt.Container.add(Container.java:345)
    4 frames
  3. Unknown
    eMail.main
    1. eMailFrame.add(eMail.java:118)
    2. eMailFrame.<init>(eMail.java:67)
    3. eMail.main(eMail.java:12)
    3 frames