//******************************************************************** // Rocket.java Author: Lewis/Loftus // // Demonstrates the use of polygons and polylines. //******************************************************************** import javax.swing.JFrame; public class Rocket { //----------------------------------------------------------------- // Creates the main frame of the program. //----------------------------------------------------------------- public static void main (String[] args) { JFrame frame = new JFrame ("Rocket"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); RocketPanel panel = new RocketPanel(); frame.getContentPane().add(panel); frame.pack(); frame.setVisible(true); } }