+ public static URL getDocumentBase()
+ {
+ try
+ {
+ return (isJS() ? new URL(/**
+ * @j2sNative J2S.thisApplet._applet.appletViewer.appletDocumentBase
+ * ||
+ */
+ "") : null);
+ } catch (MalformedURLException e)
+ {
+ return null;
+ }
+ }
+
+ public static URL getCodeBase()
+ {
+ try
+ {
+ return (isJS() ? new URL(/**
+ * @j2sNative J2S.thisApplet._applet.appletViewer.appletCodeBase
+ * ||
+ */
+ "") : null);
+ } catch (MalformedURLException e)
+ {
+ return null;
+ }
+ }
+