48 |
import java.awt.HeadlessException; |
import java.awt.HeadlessException; |
49 |
import java.awt.Toolkit; |
import java.awt.Toolkit; |
50 |
import java.awt.image.ColorModel; |
import java.awt.image.ColorModel; |
51 |
|
import java.awt.image.ImageProducer; |
52 |
import java.io.File; |
import java.io.File; |
53 |
import java.io.InputStream; |
import java.io.InputStream; |
54 |
import java.io.IOException; |
import java.io.IOException; |
332 |
.initCause(muex); |
.initCause(muex); |
333 |
} |
} |
334 |
} |
} |
335 |
|
|
336 |
|
/** |
337 |
|
* Creates an ImageProducer from the specified URL. The image is assumed |
338 |
|
* to be in a recognised format. If the toolkit does not implement the |
339 |
|
* image format or the image format is not recognised, null is returned. |
340 |
|
* This default implementation is overriden by the Toolkit implementations. |
341 |
|
* |
342 |
|
* @param url URL to read image data from. |
343 |
|
*/ |
344 |
|
public ImageProducer createImageProducer(URL url) |
345 |
|
{ |
346 |
|
return null; |
347 |
|
} |
348 |
} |
} |