Skip to content

Instantly share code, notes, and snippets.

/* SAVE ---- Tgame.java
COMPILE ---- javac Tgame.java
RUN ---- java Tgame */
import java.awt.event.*;
import javax.swing.*;
class Tgame extends JFrame
{
int k=0,l=0,count=0;
JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b;