COMP 102x Tutorial BlueJ Basics
COMP 102x Tutorial BlueJ Basics
Table of Contents
Creating a new BlueJ project*
Creating a new class*
Reopening BlueJ projects*
*The setup up images is based on a Windows system, but the instructions should apply to a Mac system
also.
Launch BlueJ
From the menu bar, click on Project -> New Project
Navigate to your desired location
Key in your desired file name for the project folder
Click on the Create button
Click on the New Class button on the left panel of the BlueJ interface
Create a Class Name and leave the Class Type as Class
A class of the given name will be created after you clicked on OK
The new class created is represented by a yellow rectangular box with diagonal lines, as
indicated below
5. Right click on the new class then click on Open Editor, a source code editor pops up
6. From the source code editor, you will notice that some demonstration source code has been
created by default
7. You need to delete these default source codes, manually, for each class created (refer to the
image below)
8. After deleting the default code, you are now ready to write your own program