java.awt.IllegalComponentStateException: The frame is decorated

Coderanch | Yohan Weerasinghe | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error in NapKin Look and Feel

    Coderanch | 5 years ago | Yohan Weerasinghe
    java.awt.IllegalComponentStateException: The frame is decorated

    Root Cause Analysis

    1. java.awt.IllegalComponentStateException

      The frame is decorated

      at java.awt.Frame.setBackground()
    2. Java RT
      JFrame.<init>
      1. java.awt.Frame.setBackground(Frame.java:986)
      2. javax.swing.JFrame.frameInit(JFrame.java:259)
      3. javax.swing.JFrame.<init>(JFrame.java:181)
      3 frames
    3. Unknown
      NapKin.main
      1. NapKin.<init>(NapKin.java:17)
      2. NapKin.main(NapKin.java:76)
      2 frames