Folders in JBuilder

A large Java project should have its major components arranged in appropriate folders. Any new classes should be added to the appropriate folder. These instructions illustrate one way of achieving this.

For example, let's say that you wish to add a new class ComputerPlayer.java to the Model for monopoly and that you have the Monopoly project open in JBuilder.

  1. In the navigation panel (upper left corner of the AppBrowser) in JBuilder, open the model folder.
  2. Above the navigation panel, choose the icon to Add to Project.
  3. In the resulting dialog box, make sure you are in the correct folder (model) and that the Add to Project check box is checked.
  4. Type in the name of your new file and then choose Open.
  5. Since the file is new, choose to create it when prompted.