Java tutorial
import javax.swing.JFrame; public class FirstFrame extends JFrame { public FirstFrame() { setTitle("FirstFrame"); setSize(300, 200); } public static void main(String[] args) { JFrame frame = new FirstFrame(); frame.show(); } }