Hands-on: JAVA Programming

4 Days hands-on course

Language: English



Get your information from an independent source


 

DESCRIPTION
Java is a complete programming language which can be used to write applets that enhance existing Web pages, or embedded Web based applications.
Through lecture and hands on labs, this course introduces students to all aspects of this high level programming langugage.

ASSUMED KNOWLEDGE
Students should have programmed in a t least one programming language - preferably C or C++.
Some familiarity with Object Oriented Programming is desired but not required.

WHAT YOU WILL LEARN
Compile and run a Java application
Understand the role of the Java Virtual Machine in achieving platform independence
Navigate through the API docs
Use the Object Oriented paradigm in Java programs
Understand the division of classes into Java packages
Use Exceptions to handle run time errors
Select the proper I/O class among those provided by the JDK
Use threads in order to create more efficient Java programs
Create Java applets and run them either through a Java enabled browser or the appletviewer
Develop Graphical User Interfaces
Use combinations of Layout Managers in developing complex graphical interfaces
Understand the Java Event Model and thus be able to write programs which process data via a Graphical User Interface
Be able to write simple Network programs using TCP/IP
Write programs using both Swing and AWT components

WHO SHOULD ATTEND
This course is designed for applications programmers and designers planning to develop applications running in Java enabled Browsers or as standalone executables

OUTLINES

CHAPTER 1: INTRODUCTION
1) What is Java
2) History
3) The Java Virtual Machine
4) Simple Java Programs

CHAPTER 2: LANGUAGE COMPONENTS
1) Primitive Data Types
2) Unicode
3) Documentation
4) Arrays
5) if
6) else if
7) for
8) while
9) switch
10) break
11) continue
12) Multi-Dimensional Arrays
13) Strings
14) StringBuffer
15) Operator
16) Methods
17) Argument Passing - Primitives
11) Argument Passing - Arrays

CHAPTER 3: OBJECT ORIENTED PROGRAMMING
1) Defining New Data Types
2) Constructors
3) this
4) Data Hiding
5) Public and Private Members
6) Defining New Data Types revisited
7) Sending an Object to a Function
8) Composition
9) toString
10) Inheritance
11) Protected Members
12) Polymorphism
13) The Object Class
14) Abstract classes
15) Interfaces
16) Class Members
17) Inner Classes

CHAPTER 4: JAVA PROGRAM STRUCTURE
1) Downloading the JDK and the API Doc
2) Packages
3) Importing packages
4) Java Standard Libraries
5) java.lang
6) java.lang.Number
7) java.lang.String
8) java.lang.Math
9) java.lang.System
10) java.util
11) java.util.Vector
12) java.util.Stack
13) java.util.Date
14) java.util.BitSet
15) java.util.Hashtable
16) java.util.Enumeration (interface)
17) java.util.Properties
18) Other packages

CHAPTER 5: EXCEPTIONS
1) Introduction
2) An Example of Exception Handling
3) Inheritance and Exceptions
4) Exception Methods
5) Developing Your Own Exception classes
6) The finally clause

CHAPTER 6: I/O IN JAVA
1) Introduction
2) The File Class
3) Listing Files in a directory
4) I/O Classes
5) InputStreams
6) File Streams
7) Data Streams
8) Line Input
9) Print Streams
10) Buffered Streams
11) Random Access Files
12) Reading and Writing Objects
13) Readers and Writer Classes
14) File Reader/Writer
15) String Reader/Writer
16) Tokenizer Classes
17) PrintWriter
18) Deprecated Methods

CHAPTER 7: THREADS
1) Threads vs Processes
2) Thread Creation by Implementing Runnable
3) Creating Threads by subclassing
4) Advantages of using Threads
5) Thread States
6) Using join()
7) Synchronization
8) wait() and notify()

CHAPTER 8: APPLETS
1) Introduction
2) Applet Behavior
3) Applets vs. Applications
4) Life Cycle of an Applet
5) Applet Tags
6) Reading Parameters
7) Displaying Images
8) Applet Information
9) Applets and Threads
10) A Threaded Applet with wait() and notify()
11) Distinguishing Threads
12) Multiple Applets on the same Web Page

CHAPTER 9: GRAPHICS
1) Introduction
2) The Graphics Coordinate System
3) Lines, Rectangles, and Ovals
4) Polygons
5) Text and Fonts
6) Images

CHAPTER 10: LAYOUT MANAGERS
1) Introduction
2) Layout Managers
3) FlowLayout Manager
4) Managing Your Own Layout
5) BorderLayout Manager
6) GridLayout Manager
7) Combining Layout Managers
8) CardLayout Manager
9) Summary of Layout Managers

CHAPTER 11: COMPONENTS
1) Introduction
2) The AWT Hierarchy
3) Graphics context
4) Buttons
5) Labels
6) Text Fields
7) Text Areas
8) Panels
9) Canvases
10) Checkboxes
11) Choices
12) Lists
13) Scrollbars
14) Menus

CHAPTER 12: EVENT HANDLING
1) Introduction
2) The Java 1.1 Event Model
3) The Event Hierarchy
4) Event Classes
5) Listener Interfaces
6) Button Events
7) Text Events
8) Focus Events
9) Item Events (CheckBox, Choice, and List)
10) Key Events
11) Mouse Events
12) Window Events
13) Scrollbar Events
14) Other Events
15) Event Handling Styles

CHAPTER 13: THE SWING COMPONENTS
1) Introduction to Swing
2) Model View Controller Architecture
3) JFrame
4) JApplet
5) JButton
6) JLabel
7) JTextField
8) JTextArea
9) JScrollBar, JScrollable, JScrollPane, JViewPort
10) JList
11) JMenuBar, JMenu, JMenuItem
12) Pluggable Look-and-Feel

CHAPTER 14: NETWORK PROGRAMMING IN JAVA
1) Networking Fundamentals
2) The Client/Server Model
3) Internet Addresses
4) URLs
5) Sockets
6) Sample Client Programs
7) Writing Servers

APPENDIX A: JAVA TOOLS
1) javadoc
2) javah
3) javap
4) jar

APPENDIX B: SAMPLE PROGRAMS
1) User Interaction
2) Scribble
3) Printing
4) Locales
5) Dialogs


[HOME] [DATES] [RESERVATION] [SEMINARS]


FDDI Institute
De Regenboog 11 - 2800 Mechelen - Europe
Tel 32 15 24 50 58 - Fax 32 15 25 10 50