package boundary;

import java.awt.Dimension;

import javax.swing.JPanel;

import model.PlayerModel;

import java.awt.BorderLayout;

import javax.swing.JLabel;
import javax.swing.SwingConstants;
import javax.swing.BoxLayout;

import java.awt.Font;
import java.awt.Component;

import javax.swing.JButton;

import controller.PlayerMainMenuCtrl;
import javax.swing.JTextPane;

public class PlayerInstructionsView extends JPanel{
	  PlayerModel model;
	  PlayerApplication app;

	  /**
	   * Creates an instruction page.
	   * @param app
	   * @param model
	   */
	public PlayerInstructionsView(PlayerApplication app, PlayerModel model){
	    setMinimumSize(new Dimension(600,480));
	    setPreferredSize(new Dimension(600, 480));
	    setLayout(new BorderLayout(0, 0));
	    
	    JPanel panel = new JPanel();
	    add(panel, BorderLayout.CENTER);
	    panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
	    
	    JTextPane txtpnInSixesWild = new JTextPane();
	    txtpnInSixesWild.setText("In Sixes Wild, click and drag your mouse across adjacent numbered tiles that add up to 6! Try to get the highest score possible!\r\n\r\nThere are three special moves you can do:\r\nSwap: Swap two adjacent tiles\r\nScramble: Scramble the board\r\nRemove: Remove a tile");
	    panel.add(txtpnInSixesWild);
	    
	    JLabel lblInstructions = new JLabel("Instructions");
	    lblInstructions.setFont(new Font("Tahoma", Font.PLAIN, 20));
	    lblInstructions.setHorizontalAlignment(SwingConstants.CENTER);
	    add(lblInstructions, BorderLayout.NORTH);
	    
	    JButton btnBack = new JButton("Back");
	    btnBack.addActionListener(new PlayerMainMenuCtrl(app, model));
	    add(btnBack, BorderLayout.SOUTH);
	    
	    
	}
}

package boundary;

import java.awt.Dimension;

import javax.swing.JPanel;

import model.PlayerModel;

import java.awt.BorderLayout;

import javax.swing.JLabel;
import javax.swing.SwingConstants;
import javax.swing.BoxLayout;

import java.awt.Font;
import java.awt.Component;

import javax.swing.JButton;

import controller.PlayerMainMenuCtrl;
import javax.swing.JTextPane;

public class PlayerInstructionsView extends JPanel{
	  PlayerModel model;
	  PlayerApplication app;

	  /**
	   * Creates an instruction page.
	   * @param app
	   * @param model
	   */
	public PlayerInstructionsView(PlayerApplication app, PlayerModel model){
	    setMinimumSize(new Dimension(600,480));
	    setPreferredSize(new Dimension(600, 480));
	    setLayout(new BorderLayout(0, 0));
	    
	    JPanel panel = new JPanel();
	    add(panel, BorderLayout.CENTER);
	    panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
	    
	    JTextPane txtpnInSixesWild = new JTextPane();
	    txtpnInSixesWild.setEditable(false);
	    txtpnInSixesWild.setText("In Sixes Wild, click and drag your mouse across adjacent numbered tiles that add up to 6! Try to get the highest score possible!\r\n\r\nThere are three special moves you can do:\r\nSwap: Swap two adjacent tiles\r\nScramble: Scramble the board\r\nRemove: Remove a tile");
	    panel.add(txtpnInSixesWild);
	    
	    JLabel lblInstructions = new JLabel("Instructions");
	    lblInstructions.setFont(new Font("Tahoma", Font.PLAIN, 20));
	    lblInstructions.setHorizontalAlignment(SwingConstants.CENTER);
	    add(lblInstructions, BorderLayout.NORTH);
	    
	    JButton btnBack = new JButton("Back");
	    btnBack.addActionListener(new PlayerMainMenuCtrl(app, model));
	    add(btnBack, BorderLayout.SOUTH);
	    
	    
	}
}

Fix PlayerInstructionsView to be not editable