create applet gallery and init demo page