Still a greenhorn but stepping up to coding my own "experiments".
This little Java program works but the JFrame's background seems to be that part of the desktop where the window happened to be located when it first appears.
Dragging the JFrame to a different lccation and then "damaging" it by minimising - maximising, changes the background but its still a picture of the desktop at that location.
A snapshot of the JFrame is attached.
The design of this little program is: (all three classes are listed below):
* Class MyDrawing. Defines an oval centred at a specifed point and specified width and height.
The oval is drawin onto a Graphics object
* Class ArtFrame. A constructor of this class accepts a MyDrawing object as a parameter.
* Class ShowFrame. The entry point into the program. Contains the main method.