java.awt.AWTError: BoxLayout can't be shared

Coderanch | naved momin | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    cant create boxlayout demo ? (Swing / AWT / SWT forum at Coderanch)

    coderanch.com | 12 months ago
    java.awt.AWTError: BoxLayout can't be shared
  2. 0

    cant create boxlayout demo ?

    Coderanch | 6 years ago | naved momin
    java.awt.AWTError: BoxLayout can't be shared
  3. 0

    Switching from one layout to another

    Oracle Community | 10 years ago | 807606
    java.awt.AWTError: BoxLayout can't be shared
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AWTError

    docfetcher | 2 years ago | *anonymous
    java.awt.AWTError: no screen devices

    1 unregistered visitors

    Root Cause Analysis

    1. java.awt.AWTError

      BoxLayout can't be shared

      at javax.swing.BoxLayout.checkContainer()
    2. Java RT
      EventDispatchThread.run
      1. javax.swing.BoxLayout.checkContainer(BoxLayout.java:445)
      2. javax.swing.BoxLayout.invalidateLayout(BoxLayout.java:229)
      3. java.awt.Container.invalidate(Container.java:1444)
      4. java.awt.Component.reshape(Component.java:2182)
      5. javax.swing.JComponent.reshape(JComponent.java:4156)
      6. java.awt.Component.setBounds(Component.java:2134)
      7. javax.swing.JRootPane$RootLayout.layoutContainer(JRootPane.java:998)
      8. java.awt.Container.layout(Container.java:1421)
      9. java.awt.Container.doLayout(Container.java:1410)
      10. java.awt.Container.validateTree(Container.java:1507)
      11. java.awt.Container.validateTree(Container.java:1513)
      12. java.awt.Container.validate(Container.java:1480)
      13. java.awt.Window.dispatchEventImpl(Window.java:2476)
      14. java.awt.Component.dispatchEvent(Component.java:4482)
      15. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      16. java.awt.EventQueue.access$000(EventQueue.java:85)
      17. java.awt.EventQueue$1.run(EventQueue.java:603)
      18. java.awt.EventQueue$1.run(EventQueue.java:601)
      19. java.security.AccessController.doPrivileged(Native Method)
      20. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      21. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      22. java.awt.EventQueue$2.run(EventQueue.java:617)
      23. java.awt.EventQueue$2.run(EventQueue.java:615)
      24. java.security.AccessController.doPrivileged(Native Method)
      25. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      26. java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      27. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      28. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      29. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      30. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      31. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      32. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      32 frames