Difference between revisions of "Robocode/NetBeans/Configure"
(Cleaned-up, Re-arranged the structure, Uploaded the screenshots) |
(post-cleanup) |
||
Line 1: | Line 1: | ||
+ | {{notice|text=''This page's media's copyright status is unconfirmed.''' | ||
+ | |||
+ | Please do not use, copy, or reproduce this page in any form until the license status is confirmed. Result in either removal of this page | ||
+ | |||
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. | ||
+ | |||
== Software Requirements == | == Software Requirements == | ||
* [http://www.netbeans.org/ NetBeans] | * [http://www.netbeans.org/ NetBeans] | ||
− | == | + | |
+ | == Configure the NetBeans == | ||
Firstly, we go to '''Tools > Libraries''' to start the '''Library Manager''' | Firstly, we go to '''Tools > Libraries''' to start the '''Library Manager''' | ||
+ | |||
[[Image:Robocode-netbean1.gif]] | [[Image:Robocode-netbean1.gif]] | ||
Line 16: | Line 23: | ||
Navigate yourself to the '''libs''' folder in the main folder of [[Robocode]] and select '''robocode'''. Finish this by clicking the '''Add JAR/Folder''' button. | 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 | + | == Adding the Robocode Library to an existing project == |
[[Image:Robocode-netbean3.gif]] | [[Image:Robocode-netbean3.gif]] | ||
Line 29: | Line 36: | ||
[[Image:Robocode-netbean5.gif]] | [[Image:Robocode-netbean5.gif]] | ||
− | |||
From the [[Robocode]] GUI select the '''Options''' drop-down menu, then '''Preferences'''. | From the [[Robocode]] GUI select the '''Options''' drop-down menu, then '''Preferences'''. | ||
Line 36: | Line 42: | ||
Finally, select the '''location''' of your robots and click '''Finish'''. | 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. | Remember to create first the NetBeans project and then to select the location of your robots. |
Revision as of 14:35, 13 November 2009
{{notice|text=This page's media's copyright status is unconfirmed.'
Please do not use, copy, or reproduce this page in any form until the license status is confirmed. Result in either removal of this page
This article shows how to configure NetBeans in order to use it in building a Robocode robot.
Contents
Software Requirements
Configure the NetBeans
Firstly, we go to Tools > Libraries to start the Library Manager
Select the New Library button.
Then, type the name of the library, for instance robocode. Click OK.
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
Right mouse click on Libraries in your project. Then, select the Add Library button.
Select your Robocode Library and click Add Library.
Showing Robocode where your robots are
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
- Using Eclipse as IDE
- Add robot project from an IDE into Robocode
- Creating a robot in Eclipse
- Running your robot from Eclipse
- Debugging your robot with Eclipse
Robot API
Tutorials
- System Requirements for Robocode
- How to download and install Robocode
- The anatomy of a robot
- Getting started with Robocode
- My First Robot Tutorial
- Robocode Game Physics
- Scoring in Robocode
- Using the robot console
- Downloading other robots
- Learning from other robots
- Package your robot
- Frequently Asked Questions (FAQ)
- Articles about Robocode
- Starting Robocode from the command line
- Graphical debugging