An Introduction to Programming with Java Applets

by Elizabeth Sugar Boese ISBN: 9780763754600

Code Examples from Book

-----------------------> > > 3rd Edition < < < ----------------------

Setting up your Home Computer
All Java source code and image files

Quick Chapter Index
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - Debugging - Extras - Eclipse

Ch 1: Intro   Foxtrot Humor Book Examples:
Ch 2: Drawing

API Reference

Image files used in examples
Image Types


Aliasing off/on

Finding Images

Foxtrot humor
Book Examples:
Ch 3: Variables & Methods   Foxtrot Humor Book Examples
Ch 4: Swing Components - Intro Reading Material
  • Online Tutorial (optional)
  • Swing Components
  • Check out all the tools in Swing! SwingSet demo
    You can select the "Source Code" tab to figure out how they did that
    Try to find the bouncing babies - kinda funny
  • Using HTML in Swing Components

    Foxtrot Humor
    HTML code on kittens Humor

  • Ch 4: Swing Components Reminder: We will learn how to handle events on these components later! So nothing happens right now when we click on a button.

    List of images used in book

    Book Examples:

    Ch 5: Layout Managers Structure for development


    Images for examples

    Book Examples
    FlowLayout BorderLayout GridLayout BoxLayout Warnings! Case Study
    Ch 6: Data Types and Operators   API Book Examples
    Ch 7: Conditionals   API   Book Examples
    • Check
    • Weather [Lab exercise]
    Ch 8: Events   API Images Book Examples Buttons Checkboxes Radio buttons Lists Key Events Focus Events Mouse Events Adding/Removing Components Dynamically Case Study
    Ch 9: Loops   FoxTrot Humor Book Examples:
    Ch 10: Classes API Images used Book Examples
    Ch 11: Swing Components II   API
    Right-click to download
        Bottle open
        Monty Python

        Guitar 1
        Guitar 2
        Guitar 3
        Guitar 4
        Guitar 5
        Guitar 6

    Book Examples
    JTabbedPane: ToolTip: Border: Audio: JFrame: JOptionPane: MediaTracker:
    Ch 12: Collections   API

    Book Examples

    Ch 13: Threads and Timers   API Book Examples:
    Ch 14: Inheritance  

    Book Examples

    Ch 15: Game Programming API

    Book Examples
    Breakout Game

    Dungeon Game
    Ch 16: Internet Applications   API Book Examples: JEditorPane Applet Parameters Configuration Files CGI
    Ch 17: Java   Book Examples: Other Examples:

    Extra Examples

    Appendix: Debugging   Book Examples: