@@ -0,0 +1,650 @@
+package com.csmancala.component;%0A%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0Aimport javax.swing.JButton;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0A%0Apublic class WinPanel extends JPanel implements ActionListener %7B%0A%0A%09private JButton mainMenuButton;%0A%09%0A%09private JLabel winnerLabelStatic;%0A%09private JLabel winnerName;%0A%09private JLabel player1Label;%0A%09private JLabel player2Label;%0A%09%0A%09private String name1;%0A%09private String name2;%0A%09public WinPanel(String myName1, String myName2) %7B%0A%09%09super();%0A%09%09%0A%09%7D%0A%09%0A%09@Override%0A%09public void actionPerformed(ActionEvent e) %7B%0A%09%09if(e.getSource() == mainMenuButton) %7B%0A%09%09%09%0A%09%09%7D%0A%09%09%0A%09%09%0A%09%7D%0A%0A%7D%0A

create new win class