package jframe;
import java.awt.*;
import javax.swing.*;
public class GUI {
public static void main(String[] args) {
JFrame frame = new JFrame („Frame“);
frame.setSize(400, 400);
frame.getContentPane().setBackground( Color.color );
frame.setLocationRelativeTo(null);
frame.setLayout(null);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setVisible(true);
}
}