Java is a simple, scalable object oriented, general purpose programming language with a multitude of uses. With the power to develop everything from simple web animations to high-end business applications that program hand-held devices, microwaves, cross platform server applications and more, it s no wonder why Java is on everyone s mind. This practical 'how to' course by Java expert, Arthur Griffith, starts from beginner level and uses practical examples to demonstrate the Java programming language. Source code is also provided for every example, so the user can follow right along. To get started, click one of the movie topics below.
IntroductionCourse IntroductionWhat is Java?What You Will NeedA Few Important WordsThe Command Line InstallationCourse OverviewTwo Programs Named HowdyThe Source Code of HowdyCompiling and Running HowdyThe Source Code of a Howdy WindowCompiling and Running Howdy WindowAdding Exits to Howdy WindowDrawing Text in a WindowFont AnatomyPositioning Text Version pt. 1Positioning Text Version pt. 2Positioning Text Version pt. 3Garbage CollectionSelecting FontsSelecting ColorsA Few Language FundamentalsThe Arithmetic Data Types
More Fundamental Data Types
Operators
The String Class
Arrays
If and Conditionals
Looping
Listing Fonts
Classes, Data, and AccessMethods/Arguments/Returns
Fundamental Inheritance
The Sun Documentation
The Creation of an Object
More About Constructors
Access
Drawing and PaintingDrawing Rectangles
Filling Rectangles
Drawing and Filling Circles
The Rounded Rectangle
Drawing and Filling Arcs
Inventing a Shape of Your Own
Rectangle with a Beveled Edge
Simple Color Shading
The Checkerboard and Shading Problems
Two Checkerboard and Shading Solutions
Graphic FilesLoading a Graphic File from Disk
Displaying a Graphic Image
Loading a Graphic File from the Internet
Scaling Images
Drawing in Memory
Picture Checkerboard Problem
Picture Checkerboard Solution
Simple AnimationThreads
A Simple Thread Example
A Simple Animation
Overcoming the Flicker Problem
Pong Program One
Pong Program Two
The Switch and Case Statement
The Doomed Vessel
Introduction to AppletsApplet Fundmentals
The Constructor and Init
An Applet is a Creature of the Internet
Creating a Production Applet
Animated Applet Structure
One Bouncing Ball
Random
One Hundred Bouncing Balls
The Autumn Leaves Applet
Responding to the MouseJava Interfaces
A Simple Mouse Clicker
Moving an Object in a Window
Dragging an Object in a Window
Dragging a Returning Object in a Window
ComponentsComponents and the AWT
Placing Buttons in Panel
Listening to Buttons in a Panel
Poking Text into a Label
A Choice is for Making a Selection
A List is for Making a Selections
A Text Field is for Typing
Toggles Turn On and Off
Placing Components in a WindowContainers and Layout Managers
The Border Layout Manager
The Grid Layout Manager
The GridBag Layout Manager pt. 1
The GridBag Layout Manager pt. 2
The Card Layout Manager
The XY Layout Manager
Dialogs and MenusA Non-Modal Dialog
A Modal Dialog
A Messaging Dialog
A Menu on a Frame
Wrap UpCommand Line Options for Javac
Command Line Options for Java
Click here to find out more about the Java: Introduction to the Java Programming Language Training CD