/[classpath]/classpath/javax/swing/JEditorPane.java
ViewVC logotype

Diff of /classpath/javax/swing/JEditorPane.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by mark, Fri Jul 30 20:21:19 2004 UTC revision 1.12.2.1 by gnu_andrew, Sat Jan 15 17:02:20 2005 UTC
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
38    
39  package javax.swing;  package javax.swing;
40    
41  import java.awt.Dimension;  import java.awt.Dimension;
42  import java.awt.event.KeyEvent;  import java.awt.event.KeyEvent;
 import java.io.InputStream;  
43  import java.io.IOException;  import java.io.IOException;
44    import java.io.InputStream;
45  import java.net.URL;  import java.net.URL;
46    
47  import javax.accessibility.AccessibleContext;  import javax.accessibility.AccessibleContext;
# Line 153  public class JEditorPane extends JTextCo Line 154  public class JEditorPane extends JTextCo
154    }    }
155    
156    protected InputStream getStream(URL page)    protected InputStream getStream(URL page)
157        throws IOException
158    {    {
159      try      return page.openStream();
       {  
         return page.openStream();  
       }  
     catch (Exception e)  
       {  
         System.out.println("Hhmmm, failed to open stream: " + e);  
       }  
     return null;  
160    }    }
161    
162    public String getText()    public String getText()
# Line 209  public class JEditorPane extends JTextCo Line 203  public class JEditorPane extends JTextCo
203     * This method initializes from a stream.     * This method initializes from a stream.
204     */     */
205    public void read(InputStream in, Object desc)    public void read(InputStream in, Object desc)
206        throws IOException
207    {    {
208    }    }
209    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.12.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26