Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
One of the signatures for the graphics method drawImage is
My question is: how am I supposed to have an ImageObserver object that I pass as a parameter when ImageObserver is an interface and can't be instantiated? When I try to create an ImageObserver object (as an instance var), i get the message that the interface is abstract and can't be instantiated. So how do I pass an ImageObserver object to the drawImage method? Hiran Replies:
|
Sponsored Links
|