i get the picture now how should I modify it so that it does not mess up my project
Type: Posts; User: njabulongcobo7
i get the picture now how should I modify it so that it does not mess up my project
GUYS WHAT IS THE COURSE OF THIS ERROR
import java.awt.event.*;
import javax.swing.*;
import tict.TicTGui;
//import tict.TicTGui;
i appreciate all advices but i feel you guys should look at what the question wants
it says...
Create a Tic Tac Toe game. In this game, two players alternate placing Xs and Os
into a grid until...
basiclly this method is placing Xs and Os in the gui...
public void actionPerformed(ActionEvent a)
{
count++;
/*Calculate Who's Turn It Is*/
if(count == 2...
int ran = 1 + (int)(Math.random() * 9);
if (ran==1)
{
button1.setText("O");
button1.setEnabled(false);
//letter = "X";
}
else
if(ran==2)
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Q implements ActionListener
{
/*Instance Variables*/
private JFrame window = new JFrame("Tic-Tac-Toe");...