//----------------------------------------------------------------------------
//
// HelloMoving.java
//
// written by:    Simon Parsons
// last modified: 31st July 2012
//

// The standard first program in Java with a twist --- the message moves
//

import javax.swing.*;                                              // Use the swing library

public class HelloMoving{
	public static void main(String[] args){
		JFrame frame = new JFrame("The Hello World Frame!");       // Set up frame
		frame.getContentPane().add(new MovingComponent());         // Create new component
		frame.setSize(400,400);                                    // Set frame size
		frame.setVisible(true);                                    // Make frame visible
	}
}

