Lectures (in PDF format) Corresponding source code
Day 1 notes




Program Structure, Variables, and Methods




User Input, Get/Set, other useful things bankMain.java
    bankAccountClass.java




JFrame and Container Objects context.java




Object Relationships




Event Handlers buttonTest.java
    comboTest.java




Graphics robotClass.java




Timers bouncer.java




Mouse and Keyboard Events mouseTracker.java
    painter.java
    colorBox.java
    keyTimer.java





Exceptions

inputTest.java




Files

fileTest.java


bouncerTest.java


ball.txt





User-defined Exceptions

reactorMain.java



reactorClass.java



highTempException.java





Arrays

buttonArrayTest.java



SelectionSortDemo.java



SelectionSort.java



StringSortDemo.java





Singleton Pattern Discussion - read pgs. 411 - 412

testFrame.java



SingletonFrame.java





Tables & Maps (now includes Lists)

musicRecord.java



musicDatabase.java



songs.txt



musicTable.java



tryStuff.java (playing with Lists and Iterators usic musicRecords)





Collections and Comparators - read pgs. 153 - 155, 326 - 327

tryComparing.java



songComparator.java



artistComparator.java





Benchmarking Discussion

Benchmark.java (now contains Collection sort comparisons)




Threads - read chapt. 9

ServerClass.java



ClientClass.java



commClass.java





Networking Discussion

ServerClass(Network).java



ClientClass(Network).java



commClass(Network).java





File Writing Discussion

fileWriteTest.java





Singleton Pattern Discussion (limiting networks to one client)

testFrame.java

                 - read pgs. 411 - 412

SingletonFrame.java





Numbering Systems



Bit Behavior

bit.java





Serializable Interface

gridTestSer.java



streamIt.java



unStreamIt.java



byteStreamIt.java

 

Code Examples

JFrame

layoutTest.java Border Layout Example
gridTest.java Grid layout and Radio Button (handles the Combo Box dilemma)
Exit.gif Stop sign graphic

Colored JButton

coloredButton3.java  
WindowUtilities.java NOTE: You will need this in the same directory as the coloredButton3.java (and class) file.
C Code
main.c NOTE: What does this code do (besides demonstrate the importance of commenting)?