John Keiser wrote:
> I noticed a method I failed to implement before in java.beans. It's
> SimpleBeanInfo.loadImage(String path).
> From what I can gather, it needs to load the image at the path
> (relative to the bean class, using getResource(), I assume). Well, I can
> get a URL or an InputStream. How can I create a java.awt.Image object from
> one of those?
Toolkit.getImage(URL) or Toolkit.getImage(String).
To get a reference to the toolkit, Toolkit.getDefaultToolkit().
This is something that I will have to be implementing, as the toolkit is system
dependent.
Doug