PDA

Click to See Complete Forum and Search --> : Supplier Class


Stevanicus
Nov 12th, 2006, 09:14 PM
Hi,

could some give me an example of a supplier class.. kinda stuck with my work here.

my task:
Write a class called SunPicture to simulate the sun rising and setting.
Finally the constructor should create an instance of the MovingSun class (see below) with the sky Rectangle provided as an argument (actual parameter) to the MovingSun constructor.
Write a supplier class, called MovingSun, to control the drawing and moving of the sun.

need an answer asap :D thanx

ciao

steve