java.lang.IllegalArgumentException

canno t add to layout: unknown constraint: Editor

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7596

  • canno t add to layout: unknown constraint: Editor
  • via Coderanch by Jon Swanson, 11 months ago
    canno t add to layout: unknown constraint: Editor
  • via bytes.com by Unknown author, 1 year ago
    canno t add to layout: constraint must be a string
  • Stack trace

    • java.lang.IllegalArgumentException: canno t add to layout: unknown constraint: Editor at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:446) at java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:407) at java.awt.Container.addImpl(Container.java:1072) at java.awt.Container.add(Container.java:925) at javax.swing.plaf.basic.BasicSpinnerUI.replaceEditor(BasicSpinnerUI.java:400) at javax.swing.plaf.basic.BasicSpinnerUI$Handler.propertyChange(BasicSpinnerUI.java:955) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at java.awt.Component.firePropertyChange(Component.java:8170) at javax.swing.JSpinner.setEditor(JSpinner.java:494) at javax.swing.JSpinner.setModel(JSpinner.java:268) at TestSpinner$ScaleActionListener.actionPerformed(TestSpinner.java:54)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 5 months ago
    Unknown user
    Once, 8 months ago