I've found a workaround, but still looking for a better way.
Telling you my workaround may help you figure out what's wrong. All this talk of classpaths in netbeans got me worried, especially since the classpaths of the form seem to be readonly? so i copied my .jar file and loaded it into the project from within the classes folder of that project, i can now drag components from there, onto my form with no hassles.
I don't like this solution though, I'd much rather it link to my project the way it's meant to, so that when I make changes they'll apply without me having to copy the file over. I see no reason why I shouldn't be able to reference the project or reference the jar file where it is compiled, but neither work. only nested within the project does the GUI recognise these types.
Any idea's of what on earth is going on here? as previously mentioned, the actual code has always worked fine, i can manually code in a class and it will work, but cannot drag it onto the form using the designer.
Telling you my workaround may help you figure out what's wrong. All this talk of classpaths in netbeans got me worried, especially since the classpaths of the form seem to be readonly? so i copied my .jar file and loaded it into the project from within the classes folder of that project, i can now drag components from there, onto my form with no hassles.
I don't like this solution though, I'd much rather it link to my project the way it's meant to, so that when I make changes they'll apply without me having to copy the file over. I see no reason why I shouldn't be able to reference the project or reference the jar file where it is compiled, but neither work. only nested within the project does the GUI recognise these types.
Any idea's of what on earth is going on here? as previously mentioned, the actual code has always worked fine, i can manually code in a class and it will work, but cannot drag it onto the form using the designer.
Comment