@@ -0,0 +1,527 @@
+import java.awt.*;%0Aimport javax.swing.*:%0A%0Apublic class GPanel extends JFrame %7B%0A%09private int duration;%0A%09JFrame window;%0A%0A%0A%09public Gpanel(int g)%7B%0A%09%09duration =d;%0A%09%09window = new JFrame(%22PacMan%22);%0A%09%09window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A%7D%0A%09public void showSplash()%7B%0A%09%09JPanel content =(Jpanel)getContentPanel();%0A%09%09content.setBackground(Color.white);%0A%0A%09%09int width=600;%0A%09%09int height=800;%0A%09%09Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();%0A%0A%09%09int x=0;%0A%09%09int y=0;%0A%09%09setBounds(x,y,widht,height);%0A%0A%09%09%0A%7D%09%09%0A%7D%0A%0A

Create GPanel.java