2,2c2,2 < * @(#)TextAreaFigure.java --- > * @(#)URLContentProducer.java 30a31,31 > * @version <$CURRENT_VERSION$> 31,31d30 < * @version 1.0 36,36d35 < 39,39c39,39 < /** the specific URL */ --- > /** the specific URL */ 40,40c40,40 < protected URL fURL = null; --- > private URL fURL; 42a42,42 > /** 43a44,44 > */ 43,43c43,43 < /**Constructor for the URLContentProducer object */ --- > * Constructor for the URLContentProducer object 46,46d46 < 53,53c53,53 < fURL = url; --- > setURL(url); 56,56d55 < 69,69c68,68 < URL url = (fURL != null) ? new URL(fURL.toExternalForm()) : new URL(((URL)ctxAttrValue).toExternalForm()); --- > URL url = (getURL() != null) ? new URL(getURL().toExternalForm()) : new URL(((URL)ctxAttrValue).toExternalForm()); 84,84d82 < 91a90,91 > dw.writeBoolean((getURL() != null)); > if (getURL() != null) { 92,93d89 < dw.writeBoolean((fURL != null)); < if (fURL != null) { 94,94c92,92 < dw.writeString(fURL.toExternalForm()); --- > dw.writeString(getURL().toExternalForm()); 98,98d95 < 105,105c102,102 < public void read(StorableInput dr) --- > public void read(StorableInput dr) throws IOException { 106,106d102 < throws IOException { 110,110c106,106 < fURL = new URL(dr.readString()); --- > setURL(new URL(dr.readString())); 110a107,107 > } 111a109,115 > > public URL getURL() { > return fURL; > } > > protected void setURL(URL newURL) { > fURL = newURL;