Notes on Object-Oriented Programming


System Configuration talks about the setup of your system for program development from the command window (or console).
Console discusses command-line compilation in Microsoft Visual C, Java, and Python.
simple are some examples of C, C++, Java, and Python programs.
makefile example
Source highlighting


Java Topics

Java text input
Test1 is a small Java application equivalent to MFC small1. It shows the size of the client window (JPanel) inside a main window (JFrame).
It also illustrates how the displayed size of a text string may be determined.
Test2 is a small Java application that demonstrates the display of “Ball” objects (class Ball).
Test3 is a Java application that illustrates the use of a Timer to do animation.
Test4 is a Java application that demonstrates the use of Java Line2 and Arrow classes.
ArrayList examples
Parsing strings with split (download examples from
Java Matrix class
Executable Jar Files
EventQueue, the right way to start a Swing program.
grow objects, a rubber-band lines and boxes (Swing)
Writing files
Java class identification: 1   2
Menu tutorials:   1   2
Audio example

Java network programming
Networking progamming with
TicTacToe applet, download, run with appletviewer example1.html

Java Graphics

CoreJava_10th chapter 10 Graphics Programming
JHTP_10th chapter 13 Graphics and Java 2D
Java Tutorial 2D Graphics
Affine Transforms

Java Graphical User Interface(GUI)

TextArea, interface to Jama
Mouse Events, example programs that demonstrate Mouse events
MouseTest, textbook program illustrating use of the mouse.
DragDemo drag ball around screen
CursorTest show predefined Cursors
ComboBox demo
Dialog box examples

Java Image Processing (2019)

impro1 introduction
impro2 convolutions
impro3 binary image morphology
impro4 Connected Components

Java Image Processing

Image processing 1
Image processing 2 (grayscale conversion)
Image processing 3 (convolution)
Image processing 4 (edge magnitude)

JavaFX Image Processing

Image processing 5


Colliding Balls

Math of colliding balls   (Swing)   (JavaFX)
colliding balls demo   (Swing)   (JavaFX)
world 1: , balls colliding in a walled area   (Swing)   (JavaFX)

Robot Motion

test 1: basic motion   (Swing) (JavaFX)
test 2: intersect walls   (Swing)   (JavaFX)
Steer the robot to the yellow target. game1   game2

File Formats

WMF Windows Meta Files (.wmf)
SVG Scalable Vector Graphics

Numerical Analysis

Solving differential equations

JavaFX Topics

JavaFX classes
Circuit layout in JavaFX (work in progress)
Canvas examples
Oracle JavaFX tutorials
grow objects, rubber-band lines and grow boxes
JavaFX Menu examples: 1   2
JavaFX Dialog boxes
Blending with Blend class



Python Topics

Here is a link to live python CGI examples on my hosted account.

Earlier Years

Summer 2014
Fall 2013
Spring 2008
Spring 2007

Maintained by John Loomis, last updated 17 February 2019