// package SwingDemos; import javax.swing.*; /** * SizedFrame.java * * * Created: Fri Mar 14 15:22:39 2003 * * @author <a href="mailto:shapiro@cse.buffalo.edu">Stuart C. Shapiro</a> * @version */ public class SizedFrame extends JFrame { public SizedFrame () { super("Titled, Sized Frame"); setBounds(100, 200, 300, 400); } public static void main (String[] args) { SizedFrame frame = new SizedFrame(); frame.show(); } // end of main () }// SizedFrame