/* This file is part of the source code for 3D-XplorMath-J, Version 1.0 (January 2008). * Copyright (c) 2008 The 3D-XplorMath Consortium (http://3d-xplormath.org). * This source code is released under a BSD License, which allows redistribution * in source and binary form, with or without modification, provided copyright * and license information are included, and with no warranty or guarantee of * any kind. For details, see http://3d-xplormath.org/j/source/BSDLicense.txt */ package vmm.xm3d; import java.awt.Color; import java.io.InputStream; import java.net.URL; import java.util.Locale; import javax.swing.BorderFactory; import javax.swing.JApplet; import javax.swing.JComponent; import vmm.core.Exhibit; import vmm.core.I18n; import vmm.core.SaveAndRestore; import vmm.core.UserExhibit; import vmm.core.View; /** * Shows 3D-XPlorMath as an applet embedded on a Web page. * With no applet parameters, the applet initially shows the * usual 3DXM splash image. Applet parameters can be used to * specify the Exhibit that is initially displayed; if this * is done, then the Gallery and Exhibit menus can be omitted * by using other applet params. Applet params are shown * in the following table: *
| Param Name | Meaning |
| Exhibit | Either the full name of an Exhibit class * or the file name for a settings file; * a settings file name must end in .xml. * The settings file can be either a resource or * an actual file in the same directory as the * HTML document that contains the applet tag. |
| SingleExhibit | This is ignored unless an Exhibit param * is present and the Exhibit loads without error. * If present with value equal to "yes", * then the Exhibit and Gallery menus are omitted./td> |
| SingleGallery | This is ignored unless an Exhibit param * is present and the Exhibit loads without error. * It is also ignored if SingleExhibit has value "yes". * If present with value equal to "yes", * then the Gallery menus are omitted. |
| Locale | The value must be a two-letter language code. * The specified langauge is used for localization in * {@link I18n} |
| StatusBar | If present with value equal to "no",