2006年9月4日 星期一

如何讀取 jar 中的圖片

ClassLoader cl = this.getClass().getClassLoader();

Icon saveIcon = new ImageIcon(cl.getResource("images/01.jpg"))

 

沒有留言:

張貼留言