320 likes | 450 Views
Files to turn in for Homework # 1. TimerApplet.java TimerApplet.html TimerSyntaxErr.java TimerSemanticErr.java TimerSemanticErr.html HomeWork1.txt. CS 161 & Code Warrior. How to Write & Turn In Programming Projects. Overview. Starting Code Warrior Creating a New Code Warrior Project
E N D
Files to turn in for Homework # 1 • TimerApplet.java • TimerApplet.html • TimerSyntaxErr.java • TimerSemanticErr.java • TimerSemanticErr.html • HomeWork1.txt
CS 161 & Code Warrior How to Write & Turn In Programming Projects
Overview • Starting Code Warrior • Creating a New Code Warrior Project • Editing Your Program • Running Your Program • Turning in Your Program files
The Code Warrior Program • Code Warrior Controls • Creating new projects • Opening Existing Project • Typical Multiple Document interface • File, Edit, Search, Window & Help • Project & Debug • Programming, Compiling, and Debugging
Creating a New Project • File Menu • New Project
To change file name • Open the edit mode by double-clicking on the file icon from project • window. • 2) Go to FILE – SAVE AS and enter the name of the file. • 3) In the edit mode, change the class name within the file so that it • matches with the file name. • 4) If the project is an applet, make the changes in the html file too • so that the correct class file gets invoked. • 5) If the project is an application, go to Edit – ‘Java Application • Settings’ – ‘Java Target’. (See next slide)
The Edit Window (Java Source) File Name Libraries Methods Bookmark Syntax coloring Edit Window
Compiling your Project • Make Button • Project Window • Make option • Project Menu • F7 • Compile versus Make
Running your project • Execute Button • Project Window • Run • Project Menu • F5 • Program Terminates • Be sure to dismiss the output window before modifying and compiling your program again
Testing Your Program • Does it Compile? • Does that make it correct? • Does it Execute? • Does that make it correct? • What makes it correct?
Turning It In • Do you have an ENGR account?!? • Get one ! • Labs • Hoveland 108, Dearborn 118, • Apperson, Batchellor, Rogers • ENGR Account maintence home page • https://engr.orst.edu • Same page for turning in work
An unsuccessful submittal • File size of any file is zero bytes • Need to re-submit everything! • Authentication failed • Need to log back in • Other error • Log back in and try it again • Copy the error message and email me or the support