hi ppl the code i had sent earlier works fine when <Graphics g=getGraphics() ;>
is added in each loop ie the object has to be reinitialized again and again beats me why can anyone explain???(plz note all the if loops have to be replaced by while ones logical mistake)
is added in each loop ie the object has to be reinitialized again and again beats me why can anyone explain???(plz note all the if loops have to be replaced by while ones logical mistake)