summaryrefslogtreecommitdiff
path: root/sj2
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2002-06-07 14:40:31 +0000
committerJoachim Lingner <jl@openoffice.org>2002-06-07 14:40:31 +0000
commit1885637550c6b4c3617586d98ad3962b13cea9b9 (patch)
tree765ed69f776c2c68958002ea14f0b3d93038da3b /sj2
parentda31c14b3efca413cceb36f4fb29cfb07200fad6 (diff)
#99999# not buildable with java 1.4
Diffstat (limited to 'sj2')
-rw-r--r--sj2/stardiv/app/AppletViewer.java7
-rw-r--r--sj2/stardiv/applet/DocumentProxy.java22
2 files changed, 24 insertions, 5 deletions
diff --git a/sj2/stardiv/app/AppletViewer.java b/sj2/stardiv/app/AppletViewer.java
index 735d3456e5..dfc695267b 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 67ee62ce7e..3cf9e64bab 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