Assuming that you have an image named "sample.jpg" in the same directory as your class file, this applet will load the image, paint it in the background, then draw the button on top of it. Obviously, it will need to be modified to do anything useful. But it gets the general idea across. Hope this helps. Stephanie
posted 19 years ago
Stephanie, Thanks for your help. It seems pretty simple. I should have just attempted it myself. I was afraid that only one of the two objects would appear, but I guess I'm wrong. Thanks again.
So I left, I came home, and I ate some pie. And then I read this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!