Trouble = the entire ActionEvent for which this post originates.
I changed the call to this:
ActionEvent e = new ActionEvent(this, 1001, null);
MainGame.grid[toClaim].actionPerformed(e);
...
Type: Posts; User: that_guy
Trouble = the entire ActionEvent for which this post originates.
I changed the call to this:
ActionEvent e = new ActionEvent(this, 1001, null);
MainGame.grid[toClaim].actionPerformed(e);
...
thats what I am trying to do. My problem is that I do not know how to successfully create an actionevent object. Here is the calling code:
public void begin()
{
while(true)
{...
Hey all,
First off, I like to create my own algorithms, its good practice.
So I am making a simple Tic Tac Toe game and everything works perfectly except...
When it is the computers turn I...