You will be using some of the knowledge you have about graphics to create finish the code of a program that has already been started. You will also learn in recitation this week how to create the Java code so that your program does not need the DrJava interactions pane to run.
We will concentrate on the following ideas that were discussed in class:
You can find information about the graphics library and functionality available in it here.
You are creating a program that when run opens a window that allows the user to draw a limited set of graphics to the screen. The window will have four user controls (buttons) that will allow the user to do the following things:
You will find that some of the code already written for you when you download the lab skeleton. Please take note of the fact that some of the code you have been given should not be modified, while other parts most certainly need to be modified to complete the tasks of the lab.
The files you download are already set to create a stand-alone program. To run the program, select the App class in the package explorer, right click and select "Run As -> Java Application". You will not need to use the DrJava window for this assignment.
You will submit your Lab 4 assignment using the Web-CAT submission plugin from Eclipse. (At this time, the grading is not enabled for this assignment, so EVERYONE will receive a zero when submitting the assignment.) The entire lab work will be due the day before your recitation meets the week of February 28th. For your reference, consult the table below for due dates.
Recitation | Due Date |
---|---|
A1 | Monday, February 28th at 9:00pm |
A2 & A5 | Tuesday, March 1st at 9:00pm |
A3 & A6 | Wednesday, March 2nd at 9:00pm |
A4 | Thursday, March 3rd at 9:00pm |