Java Tutorial 2 : Variables
Wednesday, March 18th, 2009
The second exciting installment
The second exciting installment
This video tutorial guides you through the basics of writing, compiling and running a simple program with some extra hints and tips along the way.
Java Video Tutorial 2: Hello World!- This is a video that will show you the basics of doing a simple “Hello World” program in Java using the Eclipse IDE.
Introduction to the Course
What is a JavaServer Page?
What is a Java Servlet?
Static and Dynamic Web Pages
The Container
Installation
The Environment
Starting the Server
Writing and Compiling a Servlet
Creating an Application
Two Ways to Deploy
Yet Another Deploy
Servlet Mapping
An Interception Servlet
Writing a JSP
JSP to Java Translation
JSP Elements
Imports/Globals/Methods pt. 1
Imports/Globals/Methods pt. 2
Tracking an Error
The Custom Error Page
Introduction to XML
The DTD
Parameters and Error Pages
Download and Install Ant
Tasks and Properties
Basic War Building
Compiling and Deploying
A Jar File pt. 1
A Jar File pt. 2
JSPs and HTML Files
Packages
Tables
Images
Style Sheets
Coding a Form
Text Boxes and Text Areas
Check Boxes and Radio Buttons
Pull Down and Scrolled List
A JSP Tag Handler
A Tag with a Body
A Tag with Attributes pt. 1
A Tag with Attributes pt. 2
Before and After the Body
Tag Libraries
A Few Handy JSTL Tags
Parameters and Looping
EJB
Looping forEach
Import and Choose
Running Timestamp
The Purpose of a Cookie
Setting and Getting Servlet Cookies
Setting and Getting JSP Cookies
URL Encoding in a JSP
Explicit URL Encoding
Session Timeout
Declaring Error Handling in web.xml
An Error Sending Servlet
Servlet Throwing an Exception
JSP Errors and Exceptions
Logging
A Servlet to Setup a Download
A More General Download Servlet
Viewing a Resource File
Request Headers
An Applet in a JSP
An Applet with Parameters in a JSP
An Applet in a Servlet
JavaScript in a JSP
JavaScript in a Servlet
Thread Safe Code
Course Introduction
Course Overview
Where to Get Java
The Command Line Installation
Writing and Compiling a Program
The Mainline
The Graphics Class
The Graphics2D Class
The Coordinate System
Filling a Window with Color
Inventing a Color of Your Own
Shading Up and Down
A Color Gradient
Color Gradient Directions
Cyclical Color Gradient
Polygon
Translate and Rotate
Circling
Scaling
Shearing
The Affine Transform
A Random Drawing
Arcs
Rounded Rectangles
Basic Line Drawing
Corners and Ends
Dashed Lines
Font Measuring
Positioning Text
Font List
Loading Image Files
Scaling
Types of Scaling
Pixel by Pixel pt. 1
Pixel by Pixel pt. 2
Convolving pt. 1
Convolving pt. 2
Transformation pt. 1
Transformation pt. 2
Compositing
Cross Fading
Reading Mouse Events
Mouse Motion
All Mouse Events
Reading Keyboard Events
Selecting a Mouse Cursor
Dragging Objects
Dragging Solid Objects
Rubberbanding
Building a Rectangle with GeneralPath
Scaling and Zig Zagging
The Winding Rule
Quadratic Curves
Asymmetric Quadratic Curves
Cubic Curves
Asymmetric Cubic Curves
Attaching Shapes with GeneralPath
Combining Shapes with GeneralPath
Combining Shapes with an Area Object
Crop Image
Filling an Area
Ways of Displaying Text pt. 1
Ways of Displaying Text pt. 2
Positioning Text
Text Attributes
Drawn Letters
Letters with Pictures
Dynamic Resizing of Text
Flicker
No Flicker
No Flicker Applet
Pong and Electrons pt. 1
Pong and Electrons pt. 2
Course Introduction
The Exam Pt.1
The Exam Pt.2
An Object
A Class
Inheritance
Instantiation
An Abstract Class
An Interface
Polymorphism
Hello World
Names
Data Types
Data Types Pt.2
Data Declaration
Literal Values
Literal Values Pt.2
Arithmetic Operators
Bitwise Operators
Assignment Operators
Widening and Narrowing
Boolean Operations
Instantiation & References
Polymorphism
Garbage Collection
Arrays
Multidimensional Arrays
Array Initial Values
The Java Virtual Machine
Contents of a Class
Class Modifiers
Data Modifiers
Method Modifiers
Constructors
Methods Pt.1
Methods Pt.2
Methods Pt.3
Methods Pt.4
Boolean Expressions
If/Else
While & Do/While
For Pt.1
For Pt.2
Switch/Case
Break & Continue
Throwing an Exception Pt.1
Throwing an Exception Pt.2
The Try/Catch/Finally Block
Overloading & Overriding Methods
Some Specific Exceptions
Assert
Packages
Import
Classpath & Jar Files
Abstract Class
Interfaces
Java Keywords
Nested Classes
An Anonymous Class
Enumerated Types
Comparing Objects
Java Bean Naming Standards
File Input & Output
Stream Input & Output
Serializable Classes
Format & Parse Dates
Number & Wrapper Classes
NumberFormat
java.lang.Thread
java.lang.Runnable
Synchronized
Wait & Notify
More About Threads
java.lang.Math
Strings
Boxing & Unboxing
java.lang.System
The Set Collection
List, Queue, & Map
Generic Syntax
Selecting a Collection Class
Hashcode
java.util.regex
Pattern & Matcher
java.lang.Comparable
Sorting & Searching