Assignment 2 – Playbill Generator

Maximum Points = 50

 

 The purpose of this lab is to introduce you to the study of object-oriented programming through the Java programming language. In this lab you will write a program that displays a playbill advertising a theatrical or musical performance.

 

You should start with the EmptyFrameViewer.java class [page 59] as the template for your main. You can use the RectangleComponent.java class to build and display (draw) the actual playbill. Be creative and design and code a program that displays a design of your choice.

 

v    Your program must ask the user for the name of the performance, date of performance, and anything else you feel is important for the user to specify to display on the playbill [HINT: Use JOptionPane.showInputDialog as shown on page 29 (exercise P1.10)]

v    Your program must include several graphic designs comprised of rectangles, ellipses, and/or lines

v    The text and/or graphics can be displayed using different colors

 

EXTRA CHALLENGE: display the text with different fonts (font type, font size, bold, italics).

 

Make sure that your program uses proper indentation and complete documentation. See http://csc.columbusstate.edu/summers/NOTES/1301/style.htm for guidelines.

The program heading should occur at the top of the program and should include:

               /**
                * PROGRAM SPECIFICATIONS
                * NARRATIVE DESCRIPTION:
                *
                * @author (your name) 
                * @version (date)
                */

 

 

 (Due before 8 am on Wednesday, September 14, 2011) Submit your .java files containing your program and your timesheet documenting your time to the dropbox in WebCT..

 Grades are determined using the following scale:

Grading Rubric  (Word document)