You can simply put the source in a folder in the current package structure. You reference it by adding a period and a new package name to the end of the existing package name. In Netbeans, in the new wizard file, where the package name is indicated, you can enter a new package by selecting an existing package and adding .newpackagenameto the end. Then Netbeans will create a directory structure for you.
source
share