Java Programming

 

      

 

Tuesday, January 7th

 

Welcome Back!

New year, new seats, same login and a new IDE.

Setup:
Set your homepages - slant.seq.org/~cdodge, Google, and Oracle iLearning

This semester we will be using a new IDE - eclipse which we will be using for the rest of the year.
You will find Eclipse in the Applications folder - Drag a copy of the Eclipse shortcut to your task bar.
Eclipse is an open source application which can be found at www.eclipse.org

Creating Projects, Packages and Classes in Eclipse

Create a new sheet in your vocabulary spreadsheet and label it Eclipse. Add the following vocabulary:
Section 4: Lesson 1 - Getting Started with Eclipse Vocabulary
- A naming convention to eliminate spaces in a name, but to ease readability with capitalization.
- To change the different physical location onto which you will store and save your files.
- Stored inside a project, a mechanism for organizing Java classes into namespaces, or containers.
- The method inside a class that runs when the class is compiled and ran.
- A construct that is used as a blueprint to create objects. Also a construct in which objects are created. -
- An option to choose a combination of views and editors.
- Areas within the Eclipse IDE that provide a way to navigate a hierarchy of information and allow modifications to elements.


Complete Section 4: Lesson 1 - Getting Started with Eclipse  slides - duplicate the steps in the instructions and show the StudyTool project with the studyTool package and StudyPage class.
Duplicate the code provided and demonstrate that the code works for teacher check once you have finished the lesson AND the practice.
Add comments to your code that explains what each line does.
Show your working Gallons to Liters program once you have completed all of the practice questions.

 

Homework

Install Eclipse on your home computer if you would like to be able to work on your java at home.
Eclipse can be downloaded from www.eclipse.org

 

What

Objectives for Section 4 Lesson 1
In this lesson, you will learn how to:
• Identify components of Eclipse
• Compile an application
• Test to ensure application is complete
• Write the code for GalToLit.java
• Continue coding until error free compilation and execution is reached
• Modify the program to compute a different number of gallons into its equivalent number of liters

 

Why

Eclipse is an efficient and easy to use a development environment for creating Java programs. It is a well known tool by many Java programmers and is used in many development environments.
Learning Eclipse in this lesson will give you additional skills with tools used in the Java programming space.

 

How

By completing the slides, quiz and practice exercises.