Skip to main content

Netbeans

Netbeans

Opening the Project

1.  Download the Hummingbird Netbeans project and unzip it in a convenient directory.

2.  Open Netbeans.

LINUX USERS:

  • You must open Netbeans using sudo to run Hummingbird programs, or follow these instructions to make it so regular users can access the Hummingbird (credit: Meg Richards – originally written for Finch, but identical for Hummingbird except that the VID/PID is 2534/2222 instead of 2534/1111).
  • You will need to install libusb-1.0 before compiling a program. To do so, run sudo apt-get install libusb-1.0-0-dev in any terminal window.

3.  Go to File->Open Project and navigate to the directory where you unzipped the Hummingbird Netbeans Java package.  Open the directory and click on the Hummingbeans project.  A coffee cup icon should be displayed next to “Hummingbeans” to indicate that it is a Netbeans project directory.

4.  Expand “Source Packages” to view the example programs.

Running an Example File

1.  Double click on an example file in one of the packages.  For example, OrbFader.java in the Code.java package.

2.  Click anywhere in the code editor window.

3.  Either hit Shift-F6 or go to Run->Run file to run the program.

Warning

Do not hit the main Run button (green triangle) as this will ask you to choose a main class once, and then afterwards will always run that main class instead of the program you wish to run.

Back to Top