// Step 1: Display information on the screen // The swing library // Author: Carsten Schuermann import javax.swing.JFrame; public class Frame extends JFrame { public Frame(){ setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setSize(400, 400); setTitle("DotFrame"); setVisible(false); } public static void main(String[] args) { new Frame (); } }