ICS 211: Intro to Computer Science II
- Text Reverser Applet
- Example (and sample HTML page)
- Code: TextReverserApplet.java
- Demonstrates constructing an applet GUI, using ActionListener interface to
process events, using an anonymous class, using Applet parameters, and running an applet as an application.
- Card Game: War.
(JavaDoc Class Documentation)
- Code: PlayingCard.java.
Demonstrates java.lang.Comparable, java.util.Comparator, inner classes, constant variables, javadoc, implementation level comments.
- Code: Deck.java
- Demonstrates extending/reusing code through inheritence, using general existing code to sort with comparators.
- Code: MatchingGamePlayingArea.java
- Demonstrates the ability to control assumptions through limited member access, and an unwieldy class name. :)
- Code: War.java
- [In progress.]