Programming in JAVA



This course is for those wishing to learn the Java programming language. It is aimed at complete beginners to the subject, and no knowledge is assumed.

Learning Outcomes:

Getting Started with Java :

  • What you need to get started
  • The Netbeans Software
  • Java Comments
  • The Structure of Java Code
  • Printing to the Output Window
  • How to Run your Java programs
  • Sharing your programs with others


  • Integer Variables in Java
  • Double Variables
  • Short and Float
  • Operator_Precedence
  • Java String Variables
  • Option Panes

Control Flow:

  • If Statements in Java
  • If Else Statements
  • Boolean Values
  • Switch Statements
  • Java for Loops
  • Java While Loops

Arrays in Java:

  • Java Arrays
  • Arrays and Loops
  • Sorting Arrays
  • Arrays and Strings
  • Multi-Dimensional Arrays
  • Array Lists

Java String Methods:

  • Java and Strings
  • Upper and LowerCase
  • The compare Method
  • The indexOf Method
  • The substring Method
  • The equals Method
  • The charAt Method
  • The replace Method
  • Printing Formatted Strings

Java Methods:

  • Java Methods
  • Calling your Java Methods
  • Passing Values to Methods
  • Mutliple Method Parameters

Java Classes:

  • Writing your own Java Classes
  • Field Variables
  • The Java Class Constructor
  • Accessing Class Variables
  • More on Java Class Methods
  • Method Overloading
  • Constructor Overloading
  • Java and Inheritance

Java Error Handling:

  • Error Handling and Excpetions
  • Stack Trace
  • Handling Logic Errors in Java

Dealing with Text Files in Java:

  • Open and Read a Text File in Java
  • Write to a Text File in Java

A Java Calculator Project:

  • Java Forms
  • The Different Form Views in NetBeans
  • Add a Text Box to a Java Form
  • Add a Button to the Form
  • Button Properties
  • Java Form Events
  • Coding for the Plus Button
  • Coding for the Equals Button
  • Coding for the Clear Button
  • Subtract, Divide, Multiply Buttons

More Java Form Controls:

  • Java and Combo Boxes
  • Java Check Boxes
  • Radio Buttons
  • Adding Menus to a Java Form
  • Open File Dialogue Boxes
  • Opening Files
  • Save File Dialogue Boxes

Java and Databases:

  • Java and Databases
  • Creating a Database with Java
  • Adding Records to Table
  • SQL Commands
  • Connect to a Database with Java code
  • Connecting to the Table

Databases and Java Forms :

  • Databases and Java Forms
  • Database Scrolling Buttons
  • Move Back Through the Database
  • Move to the First and Last Records
  • Update a Record
  • Add a New Record
  • Save a New Record
  • Delete a Record from a Database