import java.awt.Color;
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
我就不懂了,为什么我设置的颜色明明是黄色的,为什么运行的结果却是灰色的,而且不管你怎么改变颜色,运行结果一直都是灰色的。跪求各位大神指导,我找不到问题出在哪.

import javax.swing.JFrame;
public class goon{
public static void main(String [] args){
Frame f = new JFrame(" fuck all the people");
f.setSize(1034,222);
f.setBackground(Color.yellow);
f.setVisible(true);
f.add( null, JFrame.EXIT_ON_CLOSE);
}
private static void setDefaultCloseOperation(int exitOnClose) {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}