Changes

Jump to: navigation, search

Team1/Creating your first Java project

303 bytes removed, 09:03, 1 February 2011
no edit summary
=== 2. Creating your first Java project ===
12.1. Select from the Menu: ''File -> New -> Java Project'' <br/>
[[Image: Java_Project.jpg | 500px]]
<br/>12.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 ]]
<br/>12.3. Now create a package. Select folder ''src'', right click on it and select ''New -> Packege''<br/>
[[Image: Java_Package.jpg |600px]]
<br/>12.4. Specify the package name (Java convention is to use the same name as project). Press ''Finish''<br/>
[[Image: Java_Package2.jpg | 550px]]
<br/>12.5. Create Java class. Right click on the newly created package and select ''New -> Class''<br/>Now you can [[Imagehttp: Java_Class.jpg | 600px]] <br/>1/zenit.6senecac. Specify the name and check ''"public static voin main"'' in the ''method stubs'' sectionon.<br ca/>[[Image: Java_Class2wiki/index.jpg | 600px]] <brphp/>1.7. Modify the main method:<brTeam1/> <pre>public static void main(String[Creating_a_Java_class add Java classes] args) { System.out.println("This is my first class");  }</pre>to your project
1
edit

Navigation menu