If the pendulum appears, but does not swing smoothly from side
to side (for example, it stops and starts apparently at random,
or the speed with which it's swinging abruptly changes), other tasks
running on your computer may be using resources Java needs to do
smooth animation. If the irregular motion bothers you, try
closing other applications and see if the motion then becomes
smooth.