Adding or Removing Existing Sources for a Bean Project
You can add existing Java and bean files to a beans project or remove them from the Project Files list using the information on this page.
Adding Files
You can add existing files to your new beans project by either adding all of the files in the source directory or adding individual files from any directory. Use the appropriate steps below to add existing files:
To add all of the files in the project source directory:
- Click Add All in Directory.
All of the files in the project's source directory will be added to the Project Files list. The Project Files list indicates each file name to be added to the project, and whether the file is a bean file. If the Java Bean check box is selected, the file is a bean; if the Java Bean check box is not selected, the file is not a bean.
To add a file from another directory:
- Click Add.
The file chooser is displayed.
- Type the path and file name of the file you want to add.
- Click OK.
The file you specified will be added to the Project Files list. The Project Files list indicates each file name to be added to the project, and whether the file is a bean. If the Java Bean check box is selected, the file is a bean; if the Java Bean check box is not selected, the file is not a bean.
Removing Files
If after adding files to the Project Files list, you decide you want to remove any or all of the files, do one of the following:
To remove one file:
- Select the file you want to remove by clicking on the file name.
- Click Delete.
The file is removed from the Project Files list .
To remove all of the files from the project file list:
- Click Delete All.
All of the files in the Project Files list are removed.
Changing the Status of a Java Bean
If you specified existing beans files to add to your project, you can change the bean status using the information below.
To change the status of your project:
- Select the Java Bean check box for the file you want to change.
The Create Project wizard changes the status of your file.
After Adding Existing Source Files
Depending on your project scenario, do one of the following:
- If you are creating a new Java bean, click Next. Then, review the next wizard window.
- If you do not have either JavaBeans, BeanInfo files, or Customizer files to add to the project, click Finish.