Difference between revisions of "Team1/Creating your first Java project"

From CDOT Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=== Creating your first Java project ===
+
=== 2. Creating your first Java project ===
  
1.1. Select from the Menu: ''File -> New -> Java Project'' <br/>
+
2.1. Select from the Menu: ''File -> New -> Java Project'' <br/>
 
[[Image: Java_Project.jpg | 500px]]
 
[[Image: Java_Project.jpg | 500px]]
  
  
<br/>1.2. In the ''Create the Java Project window'' specify the project name (follow the Java convention) and leave ''"Use default location"'' checked. Press Finish to create the project<br />
+
<br/>2.2. In the ''Create the Java Project window'' specify the project name (follow the Java convention) and leave ''"Use default location"'' checked. Press Finish to create the project<br />
 
[[Image: Java_Project2.jpg | 500px ]]
 
[[Image: Java_Project2.jpg | 500px ]]
  
  
<br/>1.3. Now create a package. Select folder ''src'', right click on it and select ''New -> Packege''<br/>
+
<br/>2.3. Now create a package. Select folder ''src'', right click on it and select ''New -> Packege''<br/>
 
[[Image: Java_Package.jpg |600px]]
 
[[Image: Java_Package.jpg |600px]]
  
<br/>1.4. Specify the package name (Java convention is to use the same name as project). Press ''Finish''<br/>
+
<br/>2.4. Specify the package name (Java convention is to use the same name as project). Press ''Finish''<br/>
 
[[Image: Java_Package2.jpg | 550px]]
 
[[Image: Java_Package2.jpg | 550px]]
  
<br/>1.5. Now you can [http://zenit.senecac.on.ca/wiki/index.php/Team1/Creating_a_Java_class add Java classes] to your project
+
<br/>2.5. Now you can [http://zenit.senecac.on.ca/wiki/index.php/Team1/Creating_a_Java_class add Java classes] to your project

Latest revision as of 09:03, 1 February 2011

2. Creating your first Java project

2.1. Select from the Menu: File -> New -> Java Project
Java Project.jpg



2.2. In the Create the Java Project window specify the project name (follow the Java convention) and leave "Use default location" checked. Press Finish to create the project
Java Project2.jpg



2.3. Now create a package. Select folder src, right click on it and select New -> Packege
Java Package.jpg


2.4. Specify the package name (Java convention is to use the same name as project). Press Finish
Java Package2.jpg


2.5. Now you can add Java classes to your project