Assignment7

Assignment7 - i public class Assignment7 extends JApplet {...

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

View Full Document Right Arrow Icon
// Assignment #: 7 // Name: To be completed // StudentID: To be completed // Lecture: To be completed // Description: The Assignment 7 creates a WholePanel that is // an extension of JPanel, add it to its content, and set // a size for the applet. / import javax.swing.*;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: i public class Assignment7 extends JApplet { public void init() { // create a WholePanel object and add it to the applet WholePanel wholePanel = new WholePanel(); getContentPane().add(wholePanel); //set applet size to 400 X 400 setSize (400, 400); } }...
View Full Document

Ask a homework question - tutors are online