Submission evidence from BlueJ

BlueJ graphic

Tutorial Index

Producing various forms of evidence for assessment submission is described below. You may want to capture evidence electronically (to, say, include in a Word document) rather than printing it directly. (You may find much of this extremely obvious! - but it is not all)


  1. Class listings: the Java code
  2. Printing displayed results
  3. BlueJ class diagram
  4. A screen print
  5. Electronic Submission
  6. Project documentation
  7. Recording Method calls
  8. Javadoc: Project Interface

 

 

1. Class listings: the Java code

 
  • Open the class into the Editor. Select Class, Print. Easy

 

2. Printing displayed results

 
  • Move to the Terminal Window which should show the results you want printed

  • Under the 'Options' menu select 'save to file..'. Save the file to an appropriate filename: this could be the same name as the project but include a '.txt' file extension eg 'person.txt'. The file is a simple text file. It can be loaded into and printed out from NotePad, Word or some other editor.

 

3. BlueJ class diagram

 
  • On the Project main screen select Project, Print. The diagram part of the screen will be sent to the print queue. Easy

    The class diagram produced by BlueJ is in a cut-down version of UML - it doesn't include fields and methods. It won't suffice if you are being asked for a UML diagram.

 

4. A screen print

 
  • Press the Printscreen key on the keyboard. The screen image has been placed on the Windows Clipboard.

  • Move to say, Word. Paste the image in to your document from the Clipboard: Edit, Paste. This inserts the whole screen into your document.

  • The screen-print can be resized by simply single-clicking on the image and dragging the handles at its corners.

  • If you want to show just part of this screen-print then:

    • Display the Picture toolbar (View, Toolbar, Picture).
    • Single-click on the image.
    • Press the cropping tool button. cropping tool
    • The cursor changes shape. cropping tool cursor
    • Drag the image's handles to remove sections of the image which are not required

 

5. Electronic Submission

 

You may be asked to submit an electronic copy of your Project for assessment.

To submit this on floppy disc, it is safest to:

  • Leave BlueJ - to ensure everything has been completely saved in your area first.

  • Use Windows Explorer to drag and drop the whole directory containing all the project files from your H: area onto the A: floppy.

 

6. Project documentation

 
  • On the Project main screen, double-click the documentation icon. This will open the file 'README.TXT' in the Editor.

  • Select Class, Print.

 

7. Recording Method calls

  You may be asked to provide proof of the messages you ran with your classes.
  • In the Project main window select View and select View Terminal

  • The Terminal Window will display. In this select Options and select Record Method Calls

  • The Terminal Window can then be minimised to get it out of the way.

  • Method calls will be printed on this Terminal Window, enclosed in square brackets '[ ... ]', whenever a method is run. Any argument values sent to the method will be included.

  • These calls can then be printed in the same way as any results displayed in this window.

 

8. Javadoc: Project Interface

 
  1. If you want documentation for a single class:
    • Double-click the class icon to open the Editor

    • At the top-right of the screen click the Implementation menu. Select the Interface option

  2. If you want documentation for an entire Project
    • Ensure you have a browser running - Internet Explorer maybe.

    • Create the documentation using Tools, Project Documentation

    • The Javadoc documentation will be displayed in the browser. It can be simply printed from here when requested.

 

©: Lisa Payne, Coventry University 2002-6
Last update: 28 September 2006