Title: BlueJ: a very quick introduction
1BlueJa very quick introduction
2BlueJ
- BlueJ is an IDE (Integrated 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
3Open BlueJ, choose New Project
4Name the project, click Create
5Create and name a newClass or Applet
The name of the class should beginwith a capital
letter
6Double-click the new class to edit it
The stripes show that theclass "Drawing" is
notcompiled (ready to run)
7Edit your class, then Compile it
BlueJ starts you with asimple class or a
simpleapplet. You can modifywhat BlueJ gives
you, orjust replace it with yourown program.
8If it's an applet Right-click the class and
choose Run Applet
9If applet choose how to run it, and what size it
should be
10Here's the running applet!
11If application right-click and choose void
main(args)
12Application Just click Ok
13Application results
14Final notes
- You don't have to Save your workBlueJ 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!
15Your Assignment
- Step through the BlueJ tutorial and note any
differences between the documentation and the
actual program (hand in a list) - Modify this applet to draw a picture of your own
- Use 15 or more drawing commands
- Use three or more colors
- Draw a picture of something, not abstract art
- You will not be graded on artistic merit
16The End