BlueJ: a very quick introduction - PowerPoint PPT Presentation

About This Presentation
Title:

BlueJ: a very quick introduction

Description:

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

Number of Views:301
Avg rating:3.0/5.0
Slides: 17
Provided by: DavidMa89
Category:

less

Transcript and Presenter's Notes

Title: BlueJ: a very quick introduction


1
BlueJa very quick introduction
2
BlueJ
  • 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

3
Open BlueJ, choose New Project
4
Name the project, click Create
5
Create and name a newClass or Applet
The name of the class should beginwith a capital
letter
6
Double-click the new class to edit it
The stripes show that theclass "Drawing" is
notcompiled (ready to run)
7
Edit 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.
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 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!

15
Your 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

16
The End
Write a Comment
User Comments (0)
About PowerShow.com