Notes on Java Programming

Basic Concepts

General Topics

Designing Java Classes

  1. Point class
  2. Line class
  3. Circle class
  4. Shape interface

Strings and String Buffers

Color and Graphics

Basic Graphical User Interface (GUI) Components

ComponentEventDescription
JLabel None An area where uneditable text or icons can be displayed.
JTextField ActionEvent An area in which the user inputs data from the keyboard.
JButton ActionEvent An area that registers an event when clicked.
JCheckBox ItemEvent An area that is either selected or not-selected.
JRadioButton ItemEvent An area that registers an event when clicked.
JList ItemEvent An area where a list of items.
JComboBox ItemEvent A drop-down list of items allowing selection from list of text input.
JPanel
An container in which components can be placed.
JSlider
A valuator.

Events

Event Examples from Java Swing Tutorial

Layout Managers

Threads

Multimedia

Images

Swing


Maintained by John Loomis, last updated 5 June 2000