What version of netbeans are you using? In 5.5.1 when I choose to add the bean to the jFrame I get the error message "Cannot load component class LED from project xxx, The class must be compiled and must be on the classpath of the project this form belongs to."