java.awt.IllegalComponentStateException

The frame is decorated

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web5

  • via Unknown by Yohan Weerasinghe,
  • via Stack Overflow by user2388169
    ,
  • Stack trace

    • java.awt.IllegalComponentStateException: The frame is decorated at java.awt.Frame.setBackground(Frame.java:986) at javax.swing.JFrame.frameInit(JFrame.java:259) at javax.swing.JFrame.<init>(JFrame.java:181) at NapKin.<init>(NapKin.java:17) at NapKin.main(NapKin.java:76)

    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

    We couldn't find other users who have seen this exception.