test code for HOscillator in DummyApplet