java.lang.Error

Do not use Playback.setLayout() use Playback.getContentPane().setLayout() instead

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 web660

  • via Coderanch by Derek Harper, 9 months ago
    Do not use Playback.setLayout() use Playback.getContentPane().setLayout() instead
  • via Oracle Community by 807593, 11 months ago
    Do not use Frame.setLayout() use Frame.getContentPane().setLayout() instead
  • via Oracle Community by 843790, 1 year ago
    Do not use javax.swing.JInternalFrame.setLayout() use javax.swing.JInternalFrame.getContentPane().setLayout() instead
  • Stack trace

    • java.lang.Error: Do not use Playback.setLayout() use Playback.getContentPane().setLayout() instead at javax.swing.JFrame.createRootPaneException(JFrame.java:465) at javax.swing.JFrame.setLayout(JFrame.java:531) at Playback.<init>(Playback.java:11) at Playback.main(Playback.java:22)

    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

    You’re the first here who have seen this exception.