Notes
Basics
introduction -
FirstProgram
variables and constants
output -
print
,
message box
,
formatting
input
assignment and simple expressions
Creating programs to executing
decision
switch
loops
Recursion
,
factorial Test
, A HREF="../ICS4M/Notes/Factorial.java">factorial
Error Types
Software Development Cycle
Strings
comparison
- using equals( )
comparison Ex.
char comparison Ex.
methods and tokenizer note
constructor Ex
methods Ex
- includes compareTo( )
String Buffer and Builder
Converting values to strings for outputting
Tokens
,
TokenTest
More on comparison(
change language
)
Streams & Files
Files
Ex. for multi-line input (
NameB
,
NameTestB
)
OOP
Introduction to OOP
Class Example
Overloading
Inheritance
javadoc
UML
Math API
Rounding
Arrays/Searching/Sorting
1-D
ArraysBy2 Example
Introduction to Arrays
Common Array Algorithms - ave, length, count
Arrays as Parameters
,
Arrays passed by reference
Arrays with objects and Searching an array
2-D
Sorting -
VB bubblesort code
sorting algorithm applet
sorting algorithms with complexity
demo, algorithm, visual explanation
applet, explanation, algorithm from SUNY
wikipedia's take on sorting
Applets
intro note
WelcomeLines.java
,
WelcomeLines.htm
DoWhile.java
,
DoWhile.htm
SquareIntegers.java
,
SquareIntegers.htm
Maximum.java
,
Maximum.htm
adding sound
Swing/Listener/Events
JTextArea
buttonex5
buttonextest
c
artesian
JLabel formatting/space
using HTML
(note BR works in JDK1.4)
Frank Swartz resources
(see GUI column)
Gary Greer's code examples
Adding components to containers (to frames/panels)
Containers-general
How to Make Frames (Windows - basics, closing)
Menu and 2 panels
JPanel with mouse events (
Rectangle
,
RectangleTest
)
Using Panels and Paint
Dot moving toward
,
main
Dot moving based on button
,
main
Draw shape that moves when frame redrawn
,
main
Put an image as a background and draw shape that moves when frame redrawn
,
main
,
image loader code
Control dot with keyboard
,
main
Control dot with keyboard and moving dot
,
main
Space Invader Game Example
Using a swing timer
Sound in applications
Tutorials
First Cup of Java
New to Java Learning Centre
Essentials of the Java Programming Language
Java Tutorial on Using Swing Components
Resources
J2SE download 1.4.2
Java API
Think Like a CS
Java au Naturel
Robocode
Java Boutique
language notes
number systems
Brown's Number Systems
Deeps/Asic World Number Systems and Electronics
Programming Corner
Course Links
Course Information
Notes
Marks
Action Plans
Schedule
Assignments
Project
All Courses
Courses
TEJ2O
TEJ3M
TEJ4M
SNC1P
Archived Courses
ICS4M1
ICS3M1
TIK2O1
SNC2D1
SNC141
SNC1D1
July 2010
Su
M
T
W
Th
F
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Science & Tech News