@@ -0,0 +1,1058 @@
+import java.io.*;%0Aimport javax.swing.*;%0Aimport java.awt.*;%0Aimport java.awt.event.*;%0Aclass again implements ActionListener,WindowListener%0A%7B%0AFrame f;%0AJButton b1,b2;%0A%0Aagain()%0A%0A%7B%0Af=new Frame(%22DECIDE SOON....%22);%0A%0Ab1=new JButton(%22Play Again%22);%0Ab2=new JButton(%22Exit%22);%0A%0Ab1.addActionListener(this);%0Ab2.addActionListener(this);%0Ab1.setFont(new Font(%22Arial%22,1,20));%0Ab2.setFont(new Font(%22Arial%22,1,20));%0Af.setBackground(new Color(201,200,200));%0Af.setLayout(new FlowLayout());%0Af.add(b1);%0Af.add(b2);%0A%0Af.addWindowListener(this);%0A%0Af.setSize(300,100);%0Af.setVisible(true);%0A%0A%7D%0Apublic void actionPerformed(ActionEvent e)%0A%7B%0AJButton b =(JButton)e.getSource();%0A%0Aif(b==b1)%0A%7B%0Ahit fg=new hit();%0A%7D%0A%0Aif(b==b2)%0A%7B%0ASystem.exit(0);%0A%7D%0A%0A%7D%0Apublic void windowClosing(WindowEvent e)%0A%7B%0ASystem.exit(0);%0A%7D%0Apublic void windowClosed(WindowEvent e)%0A%7B%0A%0A%7D%0Apublic void windowOpened(WindowEvent e)%0A%7B%0A%0A%0A%7D%0Apublic void windowIconified(WindowEvent e)%0A%7B%0A%0A%7D%0Apublic void windowDeiconified(WindowEvent e)%0A%7B%0A%0A%7D%0A%0Apublic void windowActivated(WindowEvent e)%0A%7B%0A%0A%7D%0Apublic void windowDeactivated(WindowEvent e)%0A%7B%0A%0A%7D%0A%0A%0A%0A%7D%0A

Create again.java