package com.devinhartzell.chess.gui;

import javax.swing.JFrame;

public class PawnPromotionWindow extends JFrame {
	
	private static final long serialVersionUID = -1686304609750241736L;

	public PawnPromotionWindow() {
		getContentPane().setLayout(null);
		setSize(400, 200);
	}

}

@@ -57,16 +57,74 @@
 .JFrame;
+%0Aimport javax.swing.JButton;%0Aimport javax.swing.JTextArea;
 %0A%0Apublic
@@ -271,16 +271,43 @@
 dow() %7B%0A
+%09%09super(%22Pawn Promotion%22);%0A
 %09%09getCon
@@ -340,29 +340,786 @@
 ;%0A%09%09
-setSize(400, 200);%0A%09%7D%0A
+%0A%09%09JButton btnKnight = new JButton(%22Knight%22);%0A%09%09btnKnight.setBounds(6, 6, 117, 29);%0A%09%09getContentPane().add(btnKnight);%0A%09%09%0A%09%09JButton btnBishop = new JButton(%22Bishop%22);%0A%09%09btnBishop.setBounds(6, 35, 117, 29);%0A%09%09getContentPane().add(btnBishop);%0A%09%09%0A%09%09JButton btnRook = new JButton(%22Rook%22);%0A%09%09btnRook.setBounds(6, 63, 117, 29);%0A%09%09getContentPane().add(btnRook);%0A%09%09%0A%09%09JButton btnQueen = new JButton(%22Queen%22);%0A%09%09btnQueen.setBounds(6, 92, 117, 29);%0A%09%09getContentPane().add(btnQueen);%0A%09%09%0A%09%09JTextArea info = new JTextArea();%0A%09%09info.setOpaque(false);%0A%09%09info.setLineWrap(true);%0A%09%09info.setText(%22Since your pawn reached the far end of the board, you may upgrade it to a better piece.%22);%0A%09%09info.setBounds(135, 11, 159, 67);%0A%09%09getContentPane().add(info);%0A%09%09setSize(315, 155);%0A%09%09setVisible(true);%0A%09%7D
 %0A%7D%0A

Add a pawn promotion window with no functionality