Note that when you check out the skeleton, there is a package named deleteme with a file inside named DeleteMeeToo. If the project checked in to the repository doesn't have anything inside it, putting stuff in it is slightly more difficult for you so we put those two elements in the project as a placeholder. Delete them both now.
Create a new package in your project and name it drawing. In the drawing package, create a class named App.
You App class is the main class for a program that creates a JFrame with a drawing in it. The drawing can be of whatever you'd like, but your drawing must contain the following elements:
Your program can contain more than the required components, but must contain at minimum these components.
All of the code for this should appear in the constructor of the App class. In order to see what you've created, use the DrJava Interactions pane to create an instance of your App object.
You can find information about the different graphics available to you here.
Submit the file through Eclipse. Make sure that you submit to the correct section. Due dates are summarized in the table below:
Recitation | Due Date |
---|---|
A1 | Monday, February 21st at 9:00pm |
A2 & A5 | Tuesday, February 22nd at 9:00pm |
A3 & A6 | Wednesday, February 23rd at 9:00pm |
A4 | Thursday, February 24th at 9:00pm |
Lab authored by Adrienne Decker