import java.awt.*; import javax.swing.*; public class MioFrame extends JFrame { public MioFrame() { ... // instructions for constructing the window, setting its size, // putting grafic component on it // and making it visible } }