#99999# not buildable with java 1.4

This commit is contained in:
Joachim Lingner
2002-06-07 14:40:31 +00:00
parent 68e8ccf1f8
commit e98ee1130e
2 changed files with 24 additions and 5 deletions

View File

@@ -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;

View File

@@ -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