GraphicsRunner - setSize(WIDTH,HEIGHT);...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//© A+ Computer Science - www.apluscompsci.com //Name - Dat Le //Date - 8/29/11 //Lab - GraphicsRunner import javax.swing.JFrame; public class GraphicsRunner extends JFrame { private static final int WIDTH = 800; private static final int HEIGHT = 600; public GraphicsRunner() { super("Graphics Runner");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: setSize(WIDTH,HEIGHT); //getContentPane().add(new SmileyFace()); getContentPane().add(new BigHouse()); //getContentPane().add(new Robot()); setVisible(true); } public static void main( String args ) { GraphicsRunner run = new GraphicsRunner(); } }...
View Full Document

Ask a homework question - tutors are online