I'm new at this and some what slow and would really like some help please. I just rewrote my program TicTacToeGUIGame, and have a few problems That I need help with.
1. In the main I receive this error...Exception in thread "main" java.lang.Error: Unresolved compilation problem: at TicTacToeGUIGame.TicTacToeGUIGame.main(TicTacToeGU IGame.java:15)
2. In the main on line 54 I receive an error... Syntac error, insert "EnumBody" to complete the block statement.
In the Cell Class I have a few errors.
1. Line 19 the error is ... Games.Board type cannot be resloved to a type.
2. Line 58 I receive the error ... The method drawLine(int, int, int, int) in the type graphicsis not applicable for the argument (int, int, int void)
Thank you for your time and effort. Danny

TicTacToeGUIGames

Java Code:
package TicTacToeGUIGame;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JPanel;
import Games.Board.Board;
import Games.Board.Cell;
import Games.Board.Mark;
import Games.Board.games;


public class TicTacToeGUIGame {
	public static void main(String[] args)
	{
		TicTacToeGUIGames TicTacToeGUIGames = new TicTacToeGUIGames();
	}
	public static class TicTacToeGUIGames extends JPanel {
	/**
		 * 
		 */
		private static final long serialVersionUID = 1L;

		
	public void run() {
		 TicTacToeGUIGame ticTacToeGUlGame = new TicTacToeGUIGame();
	};
	
	private void takeTurn(Cell c) {
	int turn;
	Mark curMark = (turn++ % 2 == 0)? Mark.NOUGHT: Mark.CROSS;
	Object gb;
	((Board) gb).setCell(curMark, c.getRow(), c.getColumn());
}
	
	private void TicTacToeGUIGame() {
		Board gb = new Board(3, 3, new ActionListener() { 
			public void actionPerformed(ActionEvent ae) {
				Cell c = (Cell) ae.getSource();
			}

			public void actionPerformed1(ActionEvent e) {
				// TODO Auto-generated method stub
				
			}
		});
		Cell c;
		takeTurn(c);
	}
}{;
		Object gb;
		this.add(gb);@
		setDefaultCloseOperation(EXITONCLOSE? 
		this.setTitle("TIC-TAC-TOE"):
		this.setSize(300, 300);
		this.setVisible(true);
		}
private void add(Object gb) {
	// TODO Auto-generated method stub
	
}
}
Cell


Java Code:
package Games.Board;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;

public class Cell {private static Mark content;
private final int row, column;

	/**
	 * @param args
	 */
public static void main(String[] args)
{
    games main = new Games.Board.games();
}

public Cell(int row, int column) { 
	this.row = row;
    this.column = column; 
content = Mark.EMPTY;
}
public Mark getContent() { return content; }

public void setContent(Mark content) { Cell.content = content; } 
public int getRow() { return row; }
public int getColumn() { return column; }

public void addActionListener(ActionListener ah) {
	// TODO Auto-generated method stub
	
}
public static class Games extends JButton {
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

public void paintComponent(Graphics g) {
	//paint the basic button first
	super.paintComponent(g);
	int offset = 5;
	Graphics2D g2 = (Graphics2D) g;
	g2.setStroke(new BasicStroke(5));
	switch(content) {
	case NOUGHT:
	g2.setColor(Color.RED);
	//Draw 0
	g2.drawOval(offset, offset, this.getWidth() - offset * 2, this.getHeight() - offset * 2);
	break;
	case CROSS:
	g2.setColor(Color.BLACK);
	//Draw X
	g2.drawLine(offset, offset, this.getWidth() - offset ,
			g2.drawLine(this.getWidth() - offset, offset , offset, this.getHeight()- offset)); break;
	default:
		break;
			}

}


}
}