JSyn provides many different waveform oscillators. In this Applet you can select which one is being played and view it in the oscilloscope.

ToDo:

The source code for this Applet is in the file "JSynExamples/TJ_SeeOsc.java", which may be found in the JSyn SDK.