Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
First Things First: Create a LINK on your Desktop to the JAVA DOC The Java Doc is on the file server This document will be used to work with Java Classes 1 USING CodeWarrior IDE: Before you write a project you need to CREATE A FOLDER IN YOUR AREA ON THE FILE SERVER To run your programs successfully, YOU must be logged on to the server with YOUR student account 2 USING CodeWarrior IDE: Save through the My Documents folder on the workstations Desktop MAKE SURE YOU ARE WORKING THROUGH DOCUMENTS and SETTINGS / MY DOCUMENTS Add a folder called: HelloWorld 3 USING CodeWarrior IDE: The work you do while logged on is SYNCHRONIZED and saved on the FileServer when you LOG OUT, so Make sure you LOG OUT at the end of each class or your work WILL BE LOST !!!!! 4 Run Code Warrior: Run Code Warrior Create a new Java Application Project FILE NEW PROJECT Select the folder you previously created (DESELECT “CREATE FOLDER”) 5 Run Code Warrior: Name the project HelloWorld Select JAVA APPLICATION WIZZARD Click OK Change the Class Name (call the class firstapp) 6 Run Code Warrior: Make sure “Create Initial Form” is deselected NEXT>> Provide a meaningful title and comments for the project FINISH >> 7 Run Code Warrior: GENERATE>> You Now have a project shell with 1 file in it called firstap.java Double Click on this file to open it Notice the name of the class is the SAME as the name of the application firstapp 8 Run Code Warrior: Reposition BRACKETS TO LINE UP Make Coding Change to display Hello World NOTICE Code Completion Compile the program (Project Compile) 9 Run Code Warrior: Run the Program (Project Run) Exit Code Warrior 10 Look at Resulting Files: Go Through Desktop My Documents and find your HelloWorld folder You should have the following SUBFOLDERS under your main folder: 11 Look at Resulting Files: HelloWorld --- Contains The .java file you created firstapp.java HelloWorld_Data ---- contains DEBUG & Release Files created by Codewarrior HelloWorld --- Code Warrior Project MCP Extension Java Classes --- Java Archive File (JAR) (Package) contains firstapp.class 12 Debugger: Have some fun by changing your source code and then RECOMPILE See if you can identify the errors Use the debugger to set a breakpoint 13