fork download
  1. import java.swing.*;
  2. import java.awt.*;
  3.  
  4.  
  5.  
  6. class SyitFrame
  7. {
  8.  
  9. public static void main(String[] args)
  10. {
  11. Jframe frame = new Jframe("SYITA");
  12. frame.setSize(200,200);
  13. frame.setDefaultCloseOperataion(Jframe.EXIT_ON_CLOSE);
  14. frame.getContenPane().setBackground(Color.RED);
  15. frame.setVisible(true);
  16. }
  17. }
  18.  
Success #stdin #stdout 0.03s 25896KB
stdin
Standard input is empty
stdout
import java.swing.*;
import java.awt.*;



 class SyitFrame
 {

	public static void main(String[] args)
	{
 	Jframe frame = new Jframe("SYITA");
	frame.setSize(200,200);
	frame.setDefaultCloseOperataion(Jframe.EXIT_ON_CLOSE);
	frame.getContenPane().setBackground(Color.RED);
	frame.setVisible(true);
	}
}