@@ -0,0 +1,806 @@
+//Aastha Mistry 07/31/17%0D%0A%0D%0Aimport javax.swing.*;%0D%0Aimport java.awt.*;%0D%0A%0D%0Apublic class InstructionPanel extends JPanel%0D%0A%7B%0D%0A%0D%0A   public void paintComponent (Graphics g)%0D%0A   %7B%0D%0A      ImageIcon instructions = new ImageIcon(%22//.jpg%22);  //replace jpg with the imported instruction jpg%0D%0A      g.drawImage(instructions.getImage(), 400, 400, null);%0D%0A      %0D%0A      JPanel subpanel = new JPanel();%0D%0A   %0D%0A      subpanel.setLayout(new FlowLayout());%0D%0A      add(subpanel, BorderLayout.SOUTH);%0D%0A      %0D%0A      back = new JButton(%22Back%22);%0D%0A      back.addActionListener(new backListener());%0D%0A      subpanel.add(back);%0D%0A   %7D%0D%0A   %0D%0A   private class backListener implements ActionListener%0D%0A   %7B%0D%0A      public void actionPerformed(ActionEvent e)%0D%0A      %7B%0D%0A         //takes backt to the MenuPanel%0D%0A      %7D%0D%0A   %7D%0D%0A   %0D%0A   %0D%0A   %0D%0A%7D

Add files via upload