import java.awt.*;
import javax.swing.*;
import java.awt.event.*;

public class HowToPlayMenu{
    JFrame jf;
    
    public HowToPlayMenu() {
	jf = new JFrame( "How To Play" );
	JPanel jp = new JPanel();
	JButton backToMain = new JButton( "Back To Main Menu" );
	JLabel jl = new JLabel( "Put Instructions Here" );
	jf.add( jl, BorderLayout.CENTER );
	jp.add( backToMain );
	backToMain.addActionListener( new BackToMainListener() );
	jf.add( jp, BorderLayout.SOUTH );
	jf.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
	jf.setSize(700, 600);
	
	setToVisible();
    }

    public void setToVisible()
    {
	jf.setVisible( true );
    }
    
    class BackToMainListener implements ActionListener{
	public void actionPerformed(ActionEvent e){
	    jf.setVisible(false);
	}
    }
}

@@ -111,246 +111,1734 @@
     
-%0A    public HowToPlayMenu() %7B%0A%09jf = new JFrame( %22How To Play%22 );%0A%09JPanel jp = new JPanel();%0A%09JButton backToMain = new JButton( %22Back To Main Menu%22 );%0A%09JLabel jl = new JLabel( %22Put Instructions Here%22 );%0A%09jf.add( jl, BorderLayout.CENTER
+public JPanel jpTop;%0A    public JPanel jpBottom;%0A    public JPanel jpNames;%0A%0A    /* Instruction on How to Play */%0A%0A    public JLabel jlCreators = new JLabel(%22**   How to Play   **%22, JLabel.CENTER);%0A%0A    public JLabel jlFlow2 = new JLabel(%22MOVE THE TANK. Player 1: a and d keys, Player 2: left and right arrow keys%22, JLabel.CENTER);%0A    public JLabel jlFlow3 = new JLabel(%22ADJUST ANGLE OF CANON. Player 1: w and d keys, Player 2: up and down arrow keys%22, JLabel.CENTER);%0A    public JLabel jlFlow4 = new JLabel(%22FIRE THE PROJECTILE. Player 1: space bar, Player 2: Enter%22, JLabel.CENTER);%0A    public JLabel jlFlow5 = new JLabel(%22If projectile hits the other Player's tank, then the appropriate damage is subtracted. Turn ends%22, JLabel.CENTER);%0A    public JLabel jlFlow6 = new JLabel(%22and other Player's turn begins. If tanks's health reaches zero, then Player loses and game ends.%22, JLabel.CENTER);%0A    public JLabel jlLastly = new JLabel(%22If a Player's tanks's health reaches zero, then the Player loses and the game ends.%22, JLabel.CENTER);%0A    %0A    public HowToPlayMenu() %7B%0A%0A%09JPanel jp = new JPanel();%0A%09jf = new JFrame( %22How To Play%22 );%0A%09JButton backToMain = new JButton( %22Back To Main Menu%22 );%0A%09%09%0A%09jpTop = new JPanel();%0A%09jpBottom = new JPanel();%0A%09jpNames = new JPanel();%0A%09jpTop.setLayout( new GridLayout( 3, 2 ) );%0A%09jpTop.add( new JLabel() );%0A%09jpNames.setLayout( new GridLayout( 10,2 ) ); // controls space alloted for text%0A%0A%09/* displays Instruction on Panel line by line */%0A%0A%09jpNames.add( jlCreators);%0A%09jpNames.add( new JPanel() );%0A%09jpNames.add( jlFlow2 );%0A%09jpNames.add( jlFlow3 );%0A%09jpNames.add( jlFlow4 );%0A%09jpNames.add( jlFlow5 );%0A%09jpNames.add( jlFlow6 );%0A%09jpNames.add( jlLastly );%0A%0A%09jpTop.add(jpNames);%0A%0A%09jf.add( jpTop
  );%0A
+%0A
 %09jp.
@@ -1911,24 +1911,26 @@
 stener() );%0A
+%09%0A
 %09jf.add( jp,
@@ -2005,16 +2005,57 @@
 CLOSE );
+ // kills program if X button is pressed%0A
 %0A%09jf.set
@@ -2070,18 +2070,16 @@
 , 600);%0A
-%09%0A
 %09setToVi
@@ -2086,16 +2086,44 @@
 sible();
+ // displays Frame on screen
 %0A    %7D%0A%0A

Put instructions