用的时候这么用: Image im = getImageFromURL("http://rescdn.qqmail.com/zh_CN/htmledition/images/logo/logo_0_0060073.gif");