hello experts,
i have little difficulty to understand the actual scene behind the excution of paintComponent() method.
i have a japplet class that has been embedded in
jsp page, JPanel serves as contentPane of this class. due to add of few requerements an image have to be drawn at specified coordinates into this JPanel.
in fact, the image has been successfully tracked by mediatracker but due to failure in calling the paintComponent method, it is not been painted yet.
the sample code given below
i made a cross check and found that the excution stops after *run()* has been excuted.
why paintComponent() method is not being called even though repaint() has been witten inside run()'s block.
any help would be much appreciated
regards
san
[ December 18, 2007: Message edited by: Nidhi Nagre ]