Using Hummingbird in Netbeans
Opening the Project
- Download the Hummingbird Netbeans project and unzip it in a convenient directory.
Open Netbeans. LINUX USERS:
- You must open Netbeans using sudo to run Finch 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.
- Go to File->Open Project and navigate to the directory where you unzipped the Hummingbird project. A coffee cup icon should be displayed next to "Hummingbeans" to indicate that it is a Netbeans project directory.
- Expand "Source Packages" to view the example programs.
Running an Example File
- Double click on an example file in one of the packages. For example, OrbFader.java.
- Click anywhere in the code editor window.
- 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.