posted 18 years ago
In case you already have a NetBeans project set up, there is a way that you can "import" source files into your current project. Unlike some IDEs (like Eclipse, I believe), there is no "import" function in the file menu. However, if you navigate to your project's folder in Windows explorer (or whatever OS you are using), you can just dump your files under the src directory and NetBeans will pick them up automatically.
For example, if your project is called "MyProject" and is found in "C:\Java\MyProject", navigate to "C:\Java\MyProject\src" and just paste the Java files in there. NetBeans will recognize the change and add them automatically to the file tree in the IDE.