java.lang.ArrayIndexOutOfBoundsException: 3

Coderanch | Ryan O'Neill | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    TicTacToe

    Coderanch | 2 years ago | Ryan O'Neill
    java.lang.ArrayIndexOutOfBoundsException: 3

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      3

      at PA7.TicTacToeModel.setBoard()
    2. PA7
      TicTacToeController$1.actionPerformed
      1. PA7.TicTacToeModel.setBoard(TicTacToeModel.java:28)
      2. PA7.TicTacToeController$1.actionPerformed(TicTacToeController.java:43)
      2 frames
    3. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
      1 frame