Warning
This page is located in archive.

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

  • Pick Java and Java Project with existing sources

  • Fill in the name of this project and path to its folder and click Next

  • In the next step, add source package folder (i.e. d:\workspace\bludiste\src)

Project configuration

  • Select Run → Set project Configuration → Customize

  • Fill in Main class = rph.labyrinth.Labyrinth (or rph.reversi.Reversi)
  • Fill in Arguments = configuration.xml

You can run your project either by pressing F6 or selecting Run → Run Main Project or by pressing the green Run button.

courses/ae4b99rph/tutorials/netbeans/start.txt · Last modified: 2013/10/04 13:02 (external edit)