public MyFrame() {
		setLayout(new FlowLayout());
		
		for (int row = 0; row < 3; row++) {
			for (int col = 0; col < 3; col++) {
				button[row][col] = new JButton("");
				button[row][col].setPreferredSize(new Dimension(50, 50));
				add(button[row][col]);
				button[row][col].addActionListener(this);
			}
		}
		
		setSize(WWidth, WHeight);
		setVisible(true);
		setDefaultCloseOperation(EXIT_ON_CLOSE);
	}