A demo of swing programming using Java Abstract Window Toolkit (AWT)