© 2021 Linda Shepherd: Code and instructions. 1
© 2021 JavaPLT group at Rice University ( XXXXXXXXXX): DrJava
CREATING A DrJava PROJECT FOLDER
1. Create a folder as TeamMemberLastNamesAlphaOrderSecNoPANo.
2. Create a classes and src folder insider the team’s folder.
3. Open DrJava.
4. Select Project to create a new project.
5. Navigate to the team’s folder and save the team’s folder as the DrJava project folder using the same team
folder name.
a. Insert the classes folder in the path for the Build Directory.
. Insert the src folder in the path for the Working Directory.
c. Click Apply then Ok.
d. The instructions for the Main Class is below.
e.
6. Open the project folder if it is closed.
7. Open any .java files you need to add to it; then, save the .java files into the src folder.
a. One of the .java files should be the application class with the main().
8. Point to highlight the project folder name, right click Project Properties.
9. In the Project Properties window, click the ellipsis button (… button) to the right of the Main Class field.
10. Go to the src folder of your PA and click on the .java file with the main(), click Open.
11. Now the Main Class field contains src.ApplicationClassName. Delete src. before the application class
name.
12. Once the Main Class has been properly referenced, click Apply, then Ok.
© 2021 Linda Shepherd: Code and instructions. 2
© 2021 JavaPLT group at Rice University ( XXXXXXXXXX): DrJava
13. The name of YOUR project folder and application class will have your last name and your team member’s
last name in alphabetical order. Here is the view of the Project folder. The classes folder contains all
.class files. The src folder contains all .java and .java~ files.
a. Always go to Project in DrJava to open the folder. It’ll be opened in the same view as it was saved.
IS XXXXXXXXXXJAVA: PA3 ASSIGNMENT
TOTAL POINTS: 100
DUE: CHECK BLACKBOARD BY 11:59 PM
READ CAREFULLY "ALL" THE INSTRUCTIONS!!!
Do not submit code that doesn’t compile, run, or generate co
ect output.
No assistance given via email.
If needed, seek help during open tutoring or instructor office hours.
Contents (TOC) Alt Left A
ow to return to link.
UTSA HONOR CODE ........................................................................................................ XXXXXXXXXX1
OBJECTIVE ....................................................................................................................... XXXXXXXXXX1
PREP WORK ..................................................................................................................... XXXXXXXXXX1
GRADING .......................................................................................................................... XXXXXXXXXX1
PROGRAM INSTRUCTIONS ............................................................................................. XXXXXXXXXX2
UML Diagrams ................................................................................................................ XXXXXXXXXX2
SALES REP Output Specifications .................................................................................... XXXXXXXXXX6
FINAL Output Specifications .............................................................................................. XXXXXXXXXX7
SUBMISSIONS REQUIREMENT ....................................................................................... XXXXXXXXXX7
SAMPLE OUTPUT ............................................................................................................. XXXXXXXXXX8
***SALES ON TRACK*** ................................................................................................... XXXXXXXXXX8
***SALES NOT ON TRACK*** ...............................................................