±Û¾´ÀÌ :¾î¶²ÀÌ 1999³â 9¿ù 06ÀÏ 17:12:13
In Reply to: [Áú¹®ÀÌ ÀÖ¾î¿ë]À̹ÌÁö°ü·Ã(µµ¿ÍÁÖ¼¼¿ë!!!) posted by ±Ç¼ø¿µ on 1999³â 9¿ù 06ÀÏ 14:56:27:
public ImageIcon loadImageIcon(String filename, String description) {
if(applet == null) {
return new ImageIcon(filename, description);
} else {
URL url;
try {
url = new URL(applet.getCodeBase(),filename);
} catch(MalformedURLException e) {
System.err.println("Error trying to load image " + filename);
return null;
}
return new ImageIcon(url, description);
}
}