home *** CD-ROM | disk | FTP | other *** search
- package com.ms.applet;
-
- import java.applet.Applet;
- import java.applet.AppletContext;
- import java.applet.AudioClip;
- import java.awt.Image;
- import java.net.URL;
- import java.util.Enumeration;
-
- class BrowserAppletContext implements AppletContext {
- public BrowserAppletFrame frame;
-
- BrowserAppletContext(BrowserAppletFrame var1) {
- this.frame = var1;
- }
-
- public AudioClip getAudioClip(URL var1) {
- return this.frame.getAudioClipFromCache(var1);
- }
-
- public Image getImage(URL var1) {
- return this.frame.getImageFromHash(var1);
- }
-
- public Applet getApplet(String var1) {
- return this.frame.getApplet(var1);
- }
-
- public Enumeration getApplets() {
- return this.frame.getApplets();
- }
-
- public void showDocument(URL var1) {
- this.showDocument(var1, "_top");
- }
-
- public void showDocument(URL var1, String var2) {
- this.frame.getLoaderHost().showDocument(var1.toString(), var2);
- }
-
- public void showStatus(String var1) {
- this.frame.getLoaderHost().showStatus(var1);
- }
- }
-