======Setting up project in NetBeans====== =====Adding existing files===== *Download source code for the Labyrinth or Reversi. *Unpack the files into prepared folder. (i.e. d:\workspace\bludiste) =====NetBeans===== *Open NetBeans IDE *Select File -> New Project from menu {{courses/a4b99rph/tutorialy/nb1.png}} *Pick Java and Java Project with existing sources {{courses/a4b99rph/tutorialy/nbproject.png}} *Fill in the name of this project and path to its folder and click Next {{courses/a4b99rph/tutorialy/nbproject3.png}} *In the next step, add source package folder (i.e. d:\workspace\bludiste\src) {{courses/a4b99rph/tutorialy/nbproject2.png}} =====Project configuration===== *Select Run -> Set project Configuration -> Customize {{courses/a4b99rph/tutorialy/nb4.png}} *Fill in Main class = rph.labyrinth.Labyrinth (or rph.reversi.Reversi) *Fill in Arguments = configuration.xml {{courses/a4b99rph/tutorialy/nb5.png}} //You can run your project either by pressing F6 or selecting Run -> Run Main Project or by pressing the green Run button.//