{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Rebound - Displays the main frame of the program-public...

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

View Full Document Right Arrow Icon
//******************************************************************** // Rebound.java Author: Lewis/Loftus // // Demonstrates an animation and the use of the Timer class. //******************************************************************** / import java.awt.*; import java.awt.event.*; import javax.swing.*; i public class Rebound { //-----------------------------------------------------------------
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // Displays the main frame of the program. //-----------------------------------------------------------------public static void main (String args) { JFrame frame = new JFrame ("Rebound"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.getContentPane().add(new ReboundPanel()); frame.pack(); frame.setVisible(true); } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online