How to start BlueJ:
Step 1 : First, double click the BlueJ icon which is on the desktop to obtain the following startup along with the version.
Step 2 : The opening screen comes as shown below.
Step 3 : The first menu item 'Project' , is a directory which contains the required files. It is required to create a directory through 'New Project' option.
Now, select New Project and click. The opening screen appears as follows.
Step 4 : A project/directory is created after writing the name in front of the space provided File name and click 'Create'.
The next screen appears on the main screen where Project icon is present on it.
Step 5 : Click 'Project' and then click 'New Class' . A window screen appears as follows where you write class name (say ITSeries) and click OK.
Step 6 : A new window screen appears with the folder named ITSeries.
Step 7 : Now, just double click the folder ITSeries to open the class ITSeries. A sample structure of the class appears on the screen.
Step 8 : Select and delete the sample structure.
Now, start writing your program as illustrated below:
Compile the program, which displays the message:
Class compiled- no syntax errors (if no error), otherwise debug and recompile the program unless it is error free.
No comments:
Post a Comment