±Û¾´ÀÌ :Sung Yi 2000³â 2¿ù 22ÀÏ 23:58:14
In Reply to: ¾ÖÇø´Å¬·¡½º ·Îµù ÇÒ¶§ÀÇ ·Îµù ¸Þ½ÃÁö posted by ÀÌÁÖ¿µ on 2000³â 2¿ù 21ÀÏ 20:29:12:
Here it is...
i.e)
public Image loadImage(String s)
{
Image image = getImage(url);
MediaTracker mediatracker = new MediaTracker(this);
mediatracker.addImage(image, 0);
try
{
mediatracker.waitForID(0);
}
catch(InterruptedException interruptedexception)
{
//*********************************************
//put your message here to display it using Graphics.drawString(...)
//*********************************************
}
return image;
}