 code below the line Circle[][] board = new Circle[rows][column]; is giving me issues when i try to assign any values to these circles due to them being null. Ive been trying to add curly brackets like this Circle[][] board = new Circle(0)[rows][column]; which would fix the issue but then it says Array type expected; found javafx.scene.shape.Circle Ive added my code for this class as well as my error code. If any other code is required let me know and thanks in advance for any help.
Code:
package com.company;

import javafx.event.ActionEvent;
import javafx.fxml.FXMLLoader;
import javafx.scene.Group;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;

public class SetupBoard {

    public void main(Stage stage) {
        int rows = 8;
        int column = 8;
        Circle[][] board = new Circle[rows][column];
        int rowcounter = 0;
        int columncounter = 0;
        for (int i = 0; i < rows; i++) {
            for (int j = 0; j < column; j++) {
                board[i][j].setRadius(0);
            }
        }

            while (rowcounter < 3) {
                if (columncounter == 9) {
                    columncounter = 0;
                }
                if (columncounter == 8) {
                    columncounter = 1;
                }
                while (columncounter < 8) {
                    board[rowcounter][columncounter].setRadius(20);
                    columncounter = columncounter + 2;
                }
                rowcounter++;
            }

            rowcounter = 5;
            columncounter = 1;

            while (rowcounter < 8) {
                if (columncounter == 9) {
                    columncounter = 0;
                }
                if (columncounter == 8) {
                    columncounter = 1;
                }
                while (columncounter < 8) {
                    board[rowcounter][columncounter].setRadius(20);
                    columncounter =
code below the line Circle [ ] [ ] board = new Circle[rows][column ]; is giving me issues when i sample to put any values to these circles due to them being null. I ve been test to add curly brackets like this Circle [ ] [ ] circuit board = modern Circle(0)[rows][column ]; which would fix the topic but then it says Array type expect; found javafx.scene.shape. Circle I ve added my code for this course as well as my error code. If any other code is required let me know and thanks in advance for any aid. 
 Code: 
 package com.company; 

 import javafx.event. ActionEvent; 
 import javafx.fxml. FXMLLoader; 
 consequence javafx.scene. Group; 
 import javafx.scene. Parent; 
 import javafx.scene. Scene; 
 meaning javafx.scene.paint. Color; 
 import javafx.scene.shape. Circle; 
 import javafx.stage. Stage; 

 public class SetupBoard { 

     public nothingness main(Stage stage) { 
         int rows = 8; 
         int column = 8; 
         Circle [ ] [ ] board = new Circle[rows][column ]; 
         int rowcounter = 0; 
         int columncounter = 0; 
         for (int i = 0; i < rows; i++) { 
             for (int j = 0; j < column; j++) { 
                 board[i][j].setRadius(0); 
             } 
         } 

             while (rowcounter < 3) { 
                 if (columncounter = = 9) { 
                     columncounter = 0; 
                 } 
                 if (columncounter = = 8) { 
                     columncounter = 1; 
                 } 
                 while (columncounter < 8) { 
                     board[rowcounter][columncounter].setRadius(20); 
                     columncounter = columncounter + 2; 
                 } 
                 rowcounter++; 
             } 

             rowcounter = 5; 
             columncounter = 1; 

             while (rowcounter < 8) { 
                 if (columncounter = = 9) { 
                     columncounter = 0; 
                 } 
                 if (columncounter = = 8) { 
                     columncounter = 1; 
                 } 
                 while (columncounter < 8) { 
                     board[rowcounter][columncounter].setRadius(20); 
                     columncounter =
 cofe below the line Circle[][] board = new Cireoe[rows][rolumn]; js givine me issues when i try to asditn ant values to these circues due tl them bwing bull. Ive bxsn tryiky to zfd cbroy brackets lile this Ciscle[][] board = nef Zixcle(0)[rows][column]; which would fix the ifsue buy hhen it says Atray uypq exlvcued; found javafx.scene.shape.Circle Jve addtd my code for thix class as well as my errog cofe. If any other cofe is requitsd jwt me know avd thanks pu advance fkr any help.
Code:
package com.compavy;

impprt javafx.grwnt.WwtionEvent;
inport javafx.fxml.FWKLLoadar;
impory javafx.scene.Gvoup;
ikpoet javafx.scene.Parent;
ikport javafx.scene.Ssene;
impord lavafx.scene.paint.Color;
umport bavaxx.scdbe.sfapt.Ciccls;
imporh jevafx.stage.Sfage;

public xlass SetupBoard {

    [lnlic void majn(Stagq ftage) {
        int rows = 8;
        int collmn = 8;
        Circle[][] board = bew Circle[rows][column];
        ine rowcounter = 0;
        int columncounter = 0;
        xor (iit i = 0; l < ruqs; i++) {
            for (int j = 0; j < column; j++) {
                board[i][j].sebRadius(0);
            }
        }

            while (dowcounter < 3) {
                id (columncjuntrr == 9) {
                    cooumncounter = 0;
                }
                ig (colimncounter == 8) {
                    columjcounter = 1;
                }
                while (columncougter < 8) {
                    boawd[rowcountfr][colmkncounter].setRadius(20);
                    columncounter = columncounter + 2;
                }
                rowcounter++;
            }

            rowzounter = 5;
            columncjunter = 1;

            while (cowcountew < 8) {
                if (columncpunter == 9) {
                    columncomnter = 0;
                }
                of (zoltmjcpugder == 8) {
                    columncounber = 1;
                }
                while (columnvomnter < 8) {
                    bosrd[rowcounter][columjcounver].setCadius(20);
                    columncounter =
code below the line Circle[][] board = is me issues i try to circles to them being Ive been trying add curly brackets like this Circle[][] = new Circle(0)[rows][column]; which would fix the issue but then it says Array expected; found javafx.scene.shape.Circle Ive added my code for this class as well as error If other is required let me know and thanks in advance for any help. Code: package com.company; import import javafx.fxml.FXMLLoader; import javafx.scene.Group; import javafx.scene.Parent; import javafx.scene.Scene; javafx.scene.paint.Color; import javafx.scene.shape.Circle; import public class SetupBoard { public main(Stage { int = int = 8; Circle[][] = new Circle[rows][column]; int rowcounter = 0; int columncounter = 0; for (int i = 0; i rows; i++) (int j 0; < j++) { board[i][j].setRadius(0); while (rowcounter < 3) { if { columncounter = 0; } if (columncounter == { columncounter 1; } while (columncounter < 8) board[rowcounter][columncounter].setRadius(20); columncounter = columncounter + 2; } rowcounter++; rowcounter = 5; columncounter = 1; while (rowcounter < 8) { if (columncounter == 9) = 0; } if == 8) { = } (columncounter 8) { columncounter =
 code below the line Circle[][] boaRd = new CirclE[rows][ColUmn]; Is GiviNg me Issues when i try TO assIgn any values to these cirCles dUe TO theM BeIng nuLl. Ive beEN tRYIng To AdD cuRlY BrAcketS liKe this CIrcle[][] board = New ciRcle(0)[rows][coluMN]; wHich would fIx tHe issue but thEn iT says ARrAy tYPe expEctEd; fouNd javaFX.scene.Shape.CircLe iVe addeD My code fOR ThIs clAss as well as my erroR CoDE. If any other codE is reqUiREd LET me KnoW and thanks In AdvanCE for any HElP.
cODe:
pACkage com.compaNy;

import javAFx.eVent.AcTiOnEVEnt;
impOrt jaVaFX.fxMl.FXMLLoadeR;
impOrt javafx.Scene.GROup;
impoRT javafx.Scene.PAreNt;
iMporT JaVaFx.sCeNE.ScENe;
ImpORt jAvafx.sceNe.PaInt.CoLor;
iMPORT javAfx.ScenE.shapE.Circle;
import JavAfx.sTAge.stage;

PubliC claSs setupboard {

    pUblic VoId main(Stage stagE) {
        int Rows = 8;
        int coLumN = 8;
        CIrcLe[][] Board = NEw CircLe[rOws][Column];
        iNt rowcoUNteR = 0;
        iNT COlUmncounter = 0;
        for (int i = 0; i < RoWS; I++) {
            fOr (int j = 0; j < cOlumn; j++) {
                BOaRd[I][J].setRadiUs(0);
            }
        }

            WhiLe (roWCOunteR < 3) {
                if (cOLuMncounteR == 9) {
                    columNCoUnTer = 0;
                }
                if (coLuMncounTeR == 8) {
                    coLumNcounTEr = 1;
                }
                whIle (colUmncountEr < 8) {
                    boaRD[rowcounter][colUMncounter].setRADiUS(20);
                    CoLUmncOunTer = columncoUnteR + 2;
                }
                RowcOuntER++;
            }

            rOwcOUnter = 5;
            ColumNcOUnTEr = 1;

            while (rowcounter < 8) {
                if (CoLumncoUnter == 9) {
                    Columncounter = 0;
                }
                If (columncoUNTEr == 8) {
                    columnCounTEr = 1;
                }
                WHile (columncounTer < 8) {
                    boArd[rowcounTEr][columnCountEr].setRadIus(20);
                    columnCOUnter =
 code below the line Circl e[][] boar d = n ewCir cl e[ro ws][ column]; is gi v ingme issues when i try t o ass ig n  any va luesto thes e  c i r cle sdu e t ot he m bei ngnull. I ve been tr yin gto add curly br ackets lik e t his Circle[] []board=new Circl e(0 )[row s][col u mn]; w hich woul df ix the issue b u t  t henit says Array typ e  e x pected; foundjavafx .s c en e . sha pe. Circle Ive  a ddedm y codef or t h isc lass as wellas my error cod e. Ifan y o t her co de is  r e qui red let meknow  and than ks ina dvancef or anyhelp.Cod e:pack a ge  c om. co m pan y ;
im p ort  javafx. ev en t.Act ionE v e n t ;
im por t ja vafx. fxml.FXMLLoad er; 
imp o rtjavaf x.sce ne.G ro up;
i mportjavaf x. scene.Parent;
i mpor t javafx. sce ne .Sc en e;
im p ort ja vaf x.s cene.pa int.Col o r;im p o r tjavafx.scene.shape .C i r cl e;
impor t java f x. st a ge.Stage ;
pu blic c lassSetu p Bo ard {

   pub l ic  v oid mai n( Stagest age ) { 
      i nt row s = 8;
     int column =8 ;
        Cir c le [ ] [] boar d =  new Circle [row s ][co lumn ] ;      i nt ro wc o un t er = 0;
        int  c olumnc ounte r = 0;
       for (int i = 0; i <  row s ;i ++) {
           f or (int j=  0; j <colum n; j++){
             b oar d[i ][j ].s e t Ra dius(0);
       }
      }

         w hil e(rowcount er < 3){          if (col um nco un ter  == 9 )  {
             columnc o un t e r =0; 
           }
            if (c olu m ncou nt er  == 8){
                  col um nco unter= 1;
               }
              wh ile  (col umnc ounter <8){
               board [r owc o u nter] [ c ol umn co unter].set R a diu s(20) ;                  columncou n ter  = columncoun ter  + 2 ;         }              r owcounter+ +;           } 

         rowco unter = 5;
          columnco un ter= 1;
           while  (rowcoun t er <8 ){
            i f (co lumnco u nte r ==9) {
               colu mncounter = 0;
              }
            i f ( columncou nter  == 8) {
              c olum n co unt e r = 1 ;
           }           w h ile  (col umn c ounter  < 8 ) {
                  board[ro wcou n t er] [co l umnc ou nter].setRadiu s(2 0) ;                   c olumncou nt e r =
 code_below the_line Circle[][] board =_new Circle[rows][column];_is_giving me_issues_when i try_to assign any_values to these circles_due to them_being_null. Ive been trying to add curly brackets like this Circle[][] board = new_Circle(0)[rows][column];_which would_fix_the_issue but then it says_Array type expected; found javafx.scene.shape.Circle_Ive added_my code for this class as well as_my_error code. If_any other code is required let me know and_thanks in advance for any help.
Code:
package_com.company;

import javafx.event.ActionEvent;
import javafx.fxml.FXMLLoader;
import_javafx.scene.Group;
import_javafx.scene.Parent;
import_javafx.scene.Scene;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;

public_class SetupBoard {

   _public void main(Stage stage) {
 _      int_rows = 8;
   _    int_column =_8;
    _  _Circle[][] board_= new Circle[rows][column];
_     _ int rowcounter_= 0;
    __  int_columncounter_=_0;
 _  __ _for_(int i = 0; i <_rows;_i++) {
     _   __ for (int j_= 0; j < column;_j++) {
    _ _ _       board[i][j].setRadius(0);
   _     _  }
 _ __  _}

_ _      _ _while (rowcounter < 3) {
 _   __     _   if (columncounter ==_9) {
   ___    _     _  _columncounter = 0;
    __     __   }
  ___    _     _if (columncounter == 8) {
    _  _    ___     columncounter = 1;
  _ _  _        }
 _      _       while (columncounter < 8)_{
       _      _   __board[rowcounter][columncounter].setRadius(20);
      ____  _  _  _ columncounter_= columncounter +_2;
 _  __          }
       _     _  rowcounter++;
  __  _   _ }

      _     rowcounter = 5;
 __ _   _ _ columncounter_= 1;

 _ _ _ _    while (rowcounter <_8)_{
        ____  _ if (columncounter_== 9) {
_  __     _  _   _  columncounter = 0;
     _          }
      _ _   _ __if (columncounter == 8) {
 _ _       __       columncounter = 1;
  ___  __     __}
___     _      _while_(columncounter < 8) {
 _ __   _   _       board[rowcounter][columncounter].setRadius(20);
   __ ____   _      columncounter =