Assignment12 - { private final int WIDTH = 450; private...

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

View Full Document Right Arrow Icon
// Assignment #: 12 // Name: your name // StudentID: your id // Lecture: your lecture // Description: The Assignment 12 class creates a controlpanel and // adds it as its Applet content and also sets its size. / import javax.swing.*; i public class Assignment12 extends JApplet
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { private final int WIDTH = 450; private final int HEIGHT = 340; public void init() { ControlPanel panel = new ControlPanel(WIDTH,HEIGHT); getContentPane().add(panel); setSize(WIDTH,HEIGHT); } }...
View Full Document

This note was uploaded on 09/20/2009 for the course CSE 205 taught by Professor Matasu during the Spring '08 term at ASU.

Ask a homework question - tutors are online