void snapshot() {
		if (Page.isApplet())
			return;
		boolean b = false;
		if (implementMwService()) {
			Method method;
			Object c = null;
			try {
				method = applet.getClass().getMethod("getSnapshotComponent", (Class[]) null);
				if (method != null) {
					c = method.invoke(applet, (Object[]) null);
				}
			}
			catch (Exception e1) {
				e1.printStackTrace();
				return;
			}
			if (c instanceof Component && ((Component) c).isShowing()) {
				SnapshotGallery.sharedInstance().takeSnapshot(page.getAddress(), c);
				b = true;
			}
		}
		if (!b) {
			SnapshotGallery.sharedInstance().takeSnapshot(page.getAddress(),
					applet.isShowing() ? applet : PageApplet.this);
		}
	}