circleXPosition = 1 ; // set position of first circle
circleYPosition = 20 ;
textXPosition = 12 ; // set position of text
textYPosition = 42 ;
// define and int, count, and initialise it to 1. Repeat the for
// loop until count = 7, and increment count by one for each time
// round the loop.
// for loop in here
{
lotteryNumber = (int) (Math.random() * 49) + 1; // get a value for the lottery number
// draw a circle in which to display the lottery number
g.setColor(Color.blue) ;
g.drawOval(circleXPosition,circleYPosition,33,33) ;
// write the lottery number
g.setColor(Color.red);
g.drawString("" + lotteryNumber, textXPosition, textYPosition);
// increment position coordinates
// position increment code here
}