Canvas Repaint After Downloading the Image
Creating a J2ME application. PROBLEM:how i repainting the displayed canvas without ant user event.
Trying to display canvas page,page contains text and image.first time we display text 开发者_StackOverflow中文版and local image in screen,after displaying it downloading the actuall image form internet and save in RMS,completion of download we are setting one flag.After downloading how can i repaint newly download image with displayed canvas without any user interface.
Please give me some solution.
Thanks and Regards Raj
Canvas.repaint() method is invented exactly to serve the purpose like you describe.
Check the API javadocs for more details if you're interested
精彩评论