This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
We should probably hide the "background" property on JFrames/JDialogs/JWindows the same way we hide properties like "toolkit" - on any of these, what you actually want is getContentPane().setBackground().
*** This bug has been marked as a duplicate of bug 36710 ***
Created attachment 164619 [details] Can not change JFrame background color at design time
This is still a duplicate of issue 36710. If you want to set the background color of the content pane of the JFrame, you must do it in the code via getContentPane().setBackground(...). If you want to see the background in the GUI builder then e.g. add JPanel over the whole JFrame area in the designer (possibly use BorderLayout). Or design a JPanel separately and add it to a JFrame programmatically. *** This bug has been marked as a duplicate of bug 36710 ***
I.e. set the background on a JPanel that spans the whole JFrame content area.