slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
First Things First : Create a LINK on your Desktop to the JAVA DOC PowerPoint Presentation
Download Presentation
First Things First : Create a LINK on your Desktop to the JAVA DOC

Loading in 2 Seconds...

play fullscreen
1 / 13

First Things First : Create a LINK on your Desktop to the JAVA DOC - PowerPoint PPT Presentation


  • 87 Views
  • Uploaded on

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. USING CodeWarrior IDE: Before you write a project you need to CREATE A FOLDER IN YOUR AREA ON THE FILE SERVER

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'First Things First : Create a LINK on your Desktop to the JAVA DOC' - cleary


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1
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
slide2
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
slide3
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
slide4
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 !!!!!

slide5
Run Code Warrior:
  • Run Code Warrior
  • Create a new Java Application Project

FILE NEW PROJECT

  • Select the folder you previously created (DESELECT “CREATE FOLDER”)
slide6
Run Code Warrior:
  • Name the project HelloWorld
  • Select JAVA APPLICATION WIZZARD
  • Click OK
  • Change the Class Name (call the class firstapp)
slide7
Run Code Warrior:
  • Make sure “Create Initial Form” is deselected
  • NEXT>>
  • Provide a meaningful title and comments for the project
  • FINISH >>
slide8
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
slide9
Run Code Warrior:
  • Reposition BRACKETS TO LINE UP
  • Make Coding Change to display Hello World
  • NOTICE Code Completion
  • Compile the program (Project Compile)
slide10
Run Code Warrior:
  • Run the Program (Project Run)
  • Exit Code Warrior
slide11
Look at Resulting Files:
  • Go Through Desktop My Documents and find your HelloWorld folder
  • You should have the following SUBFOLDERS under your main folder:
slide12
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

slide13
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