http://www.cn.ibm.com/developerWorks/java/ 有解答
解决方案 »
- Can't find bundle for base name filename, locale zh_CN
- 这道题如何做?
- 学校有个比赛..想问问大家可以用Java做个什么样的程序参加比赛比较好??
- 经典图书下载,不看会后悔的,免费的,且都为中文版-人月神话、人件(第2版)、最后期限
- 哪里有ECLIPSE的API文档,我只在网上早到在线的,我需要可以下载的
- 这段代码能在jdk1.4.1上执行吗???
- 有一个关于javax.mail 发邮件 使用 代理服务器的问题 代理服务器需要密码
- 如何将一个图象bmp,jpg的文件转换为Base64编码文件
- 我如何让FTP服务器传回来的中文字符正常显示?
- 请问怎么把从键盘接收的多个数据一起打印出来?
- 讨论一个awt的底层性问题, 答者有分!!!
- 只有一个类(即主类),为什么编译后产生了3个类似的class文件
int aspect[] = new int[2];
int backgroundPic[]=loadImage("data/spherical.jpg",aspect);
private int[] loadImage(String imgfileN, int aspect[])
{
try // Try catch protection code.
{
URL name = new URL(getDocumentBase(),imgfileN); // Make a URL object with the path and picture name...
return a3dUTIL.imgLoad(name,aspect,this); // ...and store the image into an array.
}
catch(Exception e) // Is there a problem?...
{
e.printStackTrace(); // ...print the stack...
return null; // ...and return null value...
}
}