Difference between revisions of "Robocode/NetBeans/Configure"

From Robowiki
Jump to navigation Jump to search
(youtube links)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Youtube|8SGniJwsQrI}}
+
{{Youtube|8SGniJwsQrI|Configuring NetBeans}}
  
 
This article shows how to configure [http://www.netbeans.org/ NetBeans] in order to use it in building a [[Robocode]] robot.
 
This article shows how to configure [http://www.netbeans.org/ NetBeans] in order to use it in building a [[Robocode]] robot.
Line 31: Line 31:
 
Select your '''Robocode Library''' and click '''Add Library'''.
 
Select your '''Robocode Library''' and click '''Add Library'''.
  
== Showing Robocode where your robots are ==
+
== Showing Robocode where your robots are =={{Youtube|spgPy5D8G9Q|Setting Robocde Development Paths}}
  
 
[[Image:Robocode-netbean5.gif]]
 
[[Image:Robocode-netbean5.gif]]

Latest revision as of 07:58, 15 October 2012

Youtube
Youtube has a video of Configuring NetBeans in action: click here to watch

This article shows how to configure NetBeans in order to use it in building a Robocode robot.

Software Requirements

Configure the NetBeans

Firstly, we go to Tools > Libraries to start the Library Manager

Robocode-netbean1.gif

Select the New Library button.

Then, type the name of the library, for instance robocode. Click OK.

Robocode-netbean2.gif

Next, on the left hand side select the library you have just created and click on the Add JAR/Folder button on the right.

Navigate yourself to the libs folder in the main folder of Robocode and select robocode. Finish this by clicking the Add JAR/Folder button.

Adding the Robocode Library to an existing project

Robocode-netbean3.gif

Right mouse click on Libraries in your project. Then, select the Add Library button.

Robocode-netbean4.gif

Select your Robocode Library and click Add Library.

Showing Robocode where your robots are

Youtube
Youtube has a video of Setting Robocde Development Paths in action: click here to watch

Robocode-netbean5.gif

From the Robocode GUI select the Options drop-down menu, then Preferences.

Go to the Development Options tab and click the Add button.

Finally, select the location of your robots and click Finish.

Remember to create first the NetBeans project and then to select the location of your robots.

See also

Using Eclipse IDE

Robot API

Tutorials

News and Releases

Home pages