This is a bit off topic, sorry guys....
I'm writing an applet that needs to have images on some components, to do
this though I need to override the paint method and make Button a subclass.
When it comes to the ImageObserver bit I don't know what to put there? Does
anyone know what should go in here to enable this method to work? The code
is below my signature.
Thanks,
Stuart Stephen
public class drawButton extends Button {
...
public void paint(Graphics g) {
// call super's paint method
super.paint(g);
g.drawImage(image, 0, 0, SOMETHING????);
}
...
}
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>