***********************************************************
COMPLETE SOURCE CODE FOR : SetJWindowBackgroundColor.java
***********************************************************
import java.awt.Color;
import javax.swing.JWindow;
import javax.swing.JPanel;
public class SetJWindowBackgroundColor
{
public static void main(String[]args)
{
//Color is base on RGB
//R=0 , G=219 , B=252
Color color=new Color(0,219,252);
JPanel myPanel=new JPanel();
myPanel.setBackground(color);
JWindow myWindow=new JWindow();
myWindow.add(myPanel);
myWindow.setSize(400,400);
myWindow.setVisible(true);
}
}
***********************************************************
JUST COMPILE AND EXECUTE IT
***********************************************************