DE Term 2 Syllabus
Tycho Announcements
Term 2 weekly schedule
Sun's Java 1.6 online reference
Glossary Testable on proctored exam.
DateDriver.java Date.java many features, incl. overridden equals, hashcode, toString Week 1 assignment
SwingGUIsFrameDemo.java widgets,
events, interfaces, handlers
SwingGUIsFrameDemoOne.java
simplest example: one widget,
GUI widgets, events, interfaces, handlers summary
GUI widgets, layout managers
More widgets (ignore "chapter
13, 14")
Week 2 assignment
DateDriverGUI.gif
ArrayListTest.java ints and Strings
in an ArrayList. iterators and algorithms.
Week 3 assignment
ArrayListofDates.java
user class in an ArrayList.
Comparators for sorting user class in a Collection:
DateComparator.java
DateComparatorJulian.java
Week 3 assignment
Stacks StackTest.java Postfix.java TokenizerTest.java Week 4 homework
Queues QueueTest.java LinkedListTest.java QueueTestRandom.java Week 5 homework
Sequential and binary search SearchArrayListTest.java Week 6 homework
ObjectFile.java object file I/O (serialization) Week 8 homework
HashSetTest.java ints in a HashSet DatesHashSetTest.java user class in a HashSet.
ConeTest.java demo the Cone class:
Cone.java
ConeAreaComparator.java
ConeVolumeComparator.java
ConeTest uses lots of
GUI stuff using anonymous classes for the event handlers, which is
demo'ed in
SwingGUIsFrameDemoOneInnerClass.java
Cones, Spheres, Hash homework
GUI image
TreeSetTest.java ints in a TreeSet
DatesTreeSetTest.java user class
in a TreeSet.
HashMapTest.java int-string pairs in a HashMap
TreeMapTest.java int-string pairs in a TreeMap
ClockDriver.java
Clock.java
Week 1 homework
PersInfoDriver.java
Date.java
Person.java
PersonalInfo.java
Week 2 homework
SwingGUIsFrameDemo.java widgets,
events, interfaces, handlers
SwingGUIsFrameDemoOne.java
simplest example: one widget,
GUI widgets, events, interfaces, handlers summary
GUI widgets, layout managers
More widgets (ignore "chapter
13, 14")
Week 3 homework
ArrayListTest.java ints and Strings
in an ArrayList.
Collections algorithms.
Collections Framework summary
ArrayListofDates.java
user class in a Collection. Comparator for sorting.
Date.java (same as before)
DateComparator.java
DateComparatorJulian.java
Stacks
StackTest.java
PostfixMalik.java
Week 5 homework
Queues QueueTest.java LinkedListTest.java QueueTestRandom.java
Sequential and binary search
SearchArrayListTest.java
Week 7 homework
HashSetTest.java
DatesHashSetTest.java user class
in a hash set.
Date.java override equals() and hashCode()
ConeTest.java demo the Cone class:
Cone.java
ConeTest uses lots of
GUI stuff using anonymous classes for the event handlers, which is
demo'ed in
SwingGUIsFrameDemoOneInnerClass.java
Cones, Spheres, Hash homework
GUI image
Command line arguments and Package notes
Week 1
ch01/TDIncDate241.java interactive TDIncDate
Week 1 homework
ch01/TDIncDate241HmkArray.java
ch01/Date.java
ch01/IncDate.java
ch01/TDIncDate241ArrayEquals.java
added equals() and compareTo() to Date class
SwingGUIsFrameDemo.java widgets,
events, interfaces, handlers
SwingGUIsFrameDemoOne.java
simplest example: one widget,
GUI widgets, events, interfaces, handlers summary
GUI widgets, layout managers
More widgets (ignore "chapter
13, 14")
DrawingFrameDemo.java Graphics
drawing, a la applet, in a JFrame. FYI for the curious...
IntCheck1.java safely input an int using try-catch blocks.
IntCheck.java same, but with textfield
input too.
TDIncDate241ArrayExceptions.java
DateOutOfBoundsException example
Week 4 homework TDIncDate241ArrayHmk4.java
Collections summary
ArrayListTest.java ints and Strings.
Collections algorithms
ArrayListTestDeitel.java skippable
SwingGUIsFrameDemoOneInnerClass.java one widget. event handler is anonymous inner class.
DatesArrayListTest.java
user class in a collection. Comparator for sorting.
DatesCloneableTest.java
demo clone() and Cloneable. skip.
Cone.java example Cone class
ConeTest.javademo the Cone class. Lots of
GUI stuff.
Week 7 homework
SwingGUIsFrameDemoPanel.java widgets in panels for better layout. FYI only.
Lists, searching, Big O
SearchArrayListTest.java
sequential vs binary search
ch03/stringLists/TDUnsortedStringList241.java
Stacks
StackTest.java
Postfix.java
Week 8 homework
Queues
QueueTest.java
LinkedListTest.java
Recursion
BadRecursions.java
Week 10 homework
Array2DTest.java
ListCompared.java ArrayList vs. LinkedList
Files.java low-level, high-level, and text
file I/O
WordsFile.java read file of "words"
sampleWords.data
sampleWordsPunc.data
ObjectFile.java object file I/O
(serialization)
WY
FileChooserDemo.java
HashSetTest.java
DatesHashSetTest.java override
equals() and hashCode()
Cones, Spheres, Hash homework
GUI image
TreeSetTest.java
WordFreqTest.java frquency of words in
a file
test input file
FincDate.java javadoc example
Jar information
Java on Linux