Presentation is loading. Please wait.

Presentation is loading. Please wait.

BlueJ: a very quick introduction. BlueJ BlueJ is an IDE (Interactive Development Environment). It includes –an editor, which you use to write your programs.

Similar presentations


Presentation on theme: "BlueJ: a very quick introduction. BlueJ BlueJ is an IDE (Interactive Development Environment). It includes –an editor, which you use to write your programs."— Presentation transcript:

1 BlueJ: a very quick introduction

2 BlueJ BlueJ is an IDE (Interactive Development Environment). It includes –an editor, which you use to write your programs –a debugger, to help you find your mistakes –a viewer, to see the parts of your program –an easy way to run Java programs –an easy way to view documentation

3 Open BlueJ, choose New Project

4 Name the project, click Create

5 Create and name a new Class or Applet The name of the class should begin with a capital letter

6 Double-click the new class to edit it The stripes show that the class "Drawing" is not compiled (ready to run)

7 Edit your class, then Compile it BlueJ starts you with a simple class or a simple applet. You can modify what BlueJ gives you, or just replace it with your own program.

8 If it's an applet: Right-click the class and choose Run Applet

9 If applet: choose how to run it, and what size it should be

10 Here's the running applet!

11 If application: right-click and choose void main(args)

12 Application: Just click Ok

13 Application results

14 Final notes You don't have to Save your work—BlueJ does that automatically for you when you compile If you quit BlueJ and come back later, use Open Project to continue where you left off This quick introduction does not replace working through the tutorial!

15 Your Assignment 1.Step through the BlueJ tutorial and note any differences between the documentation and the actual program (hand in a list) 2.Modify this applet to draw a picture of your own a.Use 10 or more drawing commands b.You will not be graded on artistic merit

16 The End


Download ppt "BlueJ: a very quick introduction. BlueJ BlueJ is an IDE (Interactive Development Environment). It includes –an editor, which you use to write your programs."

Similar presentations


Ads by Google