Cleaning up after JBuilder

Quitting JBuilder

To quit JBuilder, choose File -> Quit.


Cleaning Up Your Project

As you can see in your project, a program may consist of source files and one or more libraries. In the course of writing and debugging a program, it may be necessary to compile the program dozens of times! Since all debugging is confined to the source files, recompiling the (unchanged) libraries each time would waste lots of time.

To avoid this inefficiency, once a file is compiled, a JBuilder project stores a copy of the compiled version called an object file. The Project -> Make command then recompiles any files that have been changed, and uses the existing object files of any files that have not been changed. By avoiding unnecessary recompilations, this saves lots of time.

Object files speed every Project -> Make after the first one, but they also consume disk space. To save disk space, the object files should be removed from a project any time you are done working on it.

To remove these files, go to windows and find your project directory. When we compiled JBuilder put all of the object files (class files) into the folder classes. Right-click on that folder and then choose delete from the pop up menu. All of those files will be removed!


Copying Your Work to a Floppy Disk

If you brought a floppy disk with you, you can save a copy of your work by navigating to the folder containin your project. Right click on the folder and then choose copy from the pop up menu. Double click on the My Computer icon and the right click on the floppy disk icon. Select paste from the pop up menu. You should hear the drive motor activate as the copy is performed and then stop. Note that this truly is a copy operation -- the original folder remains on your hard disk. To avoid having someone else plagiarize your work, you should then right click and delete your original folder.


Back to the Lab

Back to the Table of Contents

Back to the Introduction

Copyright 2000 by Prentice Hall. All rights reserved.