dcsimg
Problems with paint(Graphics something)!!
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jukka_Kuosmanen
Posted On:   Sunday, July 28, 2002 05:30 PM

Hi!


Is it possible to use applets paint method from another class?? I am trying to do different classes and they are trying to paint something to the screen but it doesn't work.


class test extends mainClassWhichExtendsApplet {

...

public void mypaint() {

Graphics g = super.getGraphics().create(0,0,100,100);
g.something...
super.paint(g);

}

}



Thanks,

Juha Korhonen

About | Sitemap | Contact