diff options
author | Joachim Lingner <jl@openoffice.org> | 2002-06-07 14:40:31 +0000 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2002-06-07 14:40:31 +0000 |
commit | e98ee1130e01ab0369874d657dc8653722d262c1 (patch) | |
tree | 10f7b5a3837424ba6e88d6981e2be85bc207036c /sj2 | |
parent | 68e8ccf1f8ade5baa39a8321a82dd938e20acc8b (diff) |
#99999# not buildable with java 1.4
Diffstat (limited to 'sj2')
-rw-r--r-- | sj2/stardiv/app/AppletViewer.java | 7 | ||||
-rw-r--r-- | sj2/stardiv/applet/DocumentProxy.java | 22 |
2 files changed, 24 insertions, 5 deletions
diff --git a/sj2/stardiv/app/AppletViewer.java b/sj2/stardiv/app/AppletViewer.java index 0104eebdc5de..9ee537c80445 100644 --- a/sj2/stardiv/app/AppletViewer.java +++ b/sj2/stardiv/app/AppletViewer.java @@ -2,9 +2,9 @@ * * $RCSfile: AppletViewer.java,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:54:03 $ + * last change: $Author: jl $ $Date: 2002-06-07 15:38:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -196,7 +196,8 @@ public class AppletViewer extends Frame implements Observer { public AppletViewer(int x, int y, URL doc, Hashtable atts, PrintStream statusMsgStream) { // resourceViewer = new stardiv.util.ResourceViewer(); // resourceViewer.show(); - System.err.println("#*#*#*:" + sun.awt.ScreenUpdater.updater); + //sun.awt.ScreenUpdater does not exist in Java 1.4 +// System.err.println("#*#*#*:" + sun.awt.ScreenUpdater.updater); this.statusMsgStream = statusMsgStream; this.atts = atts; diff --git a/sj2/stardiv/applet/DocumentProxy.java b/sj2/stardiv/applet/DocumentProxy.java index 6ef4d5055c7e..f62aed9d9950 100644 --- a/sj2/stardiv/applet/DocumentProxy.java +++ b/sj2/stardiv/applet/DocumentProxy.java @@ -2,9 +2,9 @@ * * $RCSfile: DocumentProxy.java,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:54:03 $ + * last change: $Author: jl $ $Date: 2002-06-07 15:40:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,6 +73,8 @@ import java.util.Enumeration; import java.util.Hashtable; import java.util.Observer; import java.util.Observable; +import java.util.Iterator; +import java.io.InputStream; import java.net.URL; @@ -96,6 +98,22 @@ public class DocumentProxy implements AppletContext, Cachable, Observer, LiveCon return documentProxy; } + // AppletContext. This method is new since 1.4. We insert it so as to + // have the project buildable + public void setStream( String key,InputStream stream) + throws java.io.IOException { + } + // AppletContext. This method is new since 1.4. We insert it so as to + // have the project buildable + public InputStream getStream( String key) { + return null; + } + // AppletContext. This method is new since 1.4. We insert it so as to + // have the project buildable + public Iterator getStreamKeys() { + return null; + } + /* ** interface cachable methods |