Page 57 - TP_iPlus_V2.1_Class8
P. 57

The BlueJ application window has the following components:

                 •  Title Bar: It is located at the top of the window. It displays the application and the project name.
                 •   Menu Bar: It contains five menus that allow us to create a new project, open an existing
                    project, create a new class, compile a program, and get help with BlueJ.
                 •  New Class Button: It allows us to create a new class.
                 •  Project Icon: It allows us to work on the current project.
                 •  Compile Button: It allows us to compile all the uncompiled classes.
                 •   Object Bench: It is the area located at the bottom of the BlueJ application window. It allows
                    interaction between objects.


                  i +  CREATING FIRST PROJECT USING BLUEJ

                 To create a project, follow the given steps:

                    1  Click on the
                    Project menu.                            2  Select the New
                                                            Project option.         3  Type a name for your project
                                                                                    in the Name text box.


















                                                                                     4  Click on the OK button.


                 A project is created in the BlueJ application window.

                                                   7  Type a name for
                          5  Click on the
                                                   your class in the
                          Edit menu.
                                                   Class Name text box.


                                                                                                 8  Select the
                                                                                                 Class option.













                                      6  Select the New Class option.       9  Click on the OK button.



                                                                                                                  55
                                                                                               Program Coding
   52   53   54   55   56   57   58   59   60   61   62