I have used Swing on dozens of projects, such as a GUI for The Drancing accelerometer music "air instrument".

You'll find many examples of Swing throughout this site, including:

  • reverse-engineering of Swing to UML
  • the cascading lazy instantiation recipe for Swing

Java Swing accelerometer signal view

Java Swing accelerometer signal view

The 5x3 = 15 signals are shown for triaxial accelerometers attached to left and right hands and feet, and to the body, in a "star" pattern.

DranceWare Java accelerometer monitor

DranceWare Java accelerometer monitor

For 5 triaxial (3D) accelerometers. Note inclusion of additive colour from (R,G,B) components.

Java GUI with multi-column TreeView for DranceWare MIDI (circa 2002)

Java GUI with multi-column TreeView for DranceWare MIDI (circa 2002)

Note the possibility of master-slaving of parameters of individual accelerometer channels to an accelerometer group, and of an accelerometer group to a global parameter.

Drancing Java visuals base in UML

Drancing Java visuals base in UML

A minimal base for DranceWare Java components that generate Java and Java3D computer visuals, decoupled from the audio synthesis DranceWare components (promotes better real-time for audio). Visual and audio share the same low-level data acquisition. The sensor signals appear (via JNI) in Java through an Accelerometer_3D interface.

DranceWare: Java: UML of simple accelerometer sensor monitor

DranceWare: Java: UML of simple accelerometer sensor monitor

In the implementation signals are fed from low-level C data acquisition (using COMEDILIB) to Java via JNI.

randomness