由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - [转载] Problems with reading image file in Jar.
相关主题
One question about Java Programming为什么我这个html找不到applet class?
JSP程序中如何在客户端启动另外的JAR程序[转载] 有用Eclipse的嘛?
Applet如何调用Server side Jar?Re: Swing问题
Re: How to write to a file on server in an applet?Re: How to make a JButton stay pressed?
a question regarding appletRe: How to make a JButton stay pressed? (solution?)
赶快帮帮我!大虾请指点
再问个java的蠢问题,别骂我How to draw an arrow?
愣是笨到家----整不明白applet的patheclipse 做gui问题
相关话题的讨论汇总
话题: jar话题: problems话题: file话题: jbutton话题: reading
进入Java版参与讨论
1 (共1页)
b**a
发帖数: 1
1
【 以下文字转载自 Internet 讨论区,原文如下 】
发信人: boda (长生树), 信区: Internet
标 题: Problems with reading image file in Jar.
发信站: Unknown Space - 未名空间 (Tue Jun 8 12:27:40 2004) WWW-POST
The system I am working on is an Applet. The package name is process which
contains several java files and jpg files.
In one of the file, I write:
private JButton button = new JButton(new
ImageIcon(Toolkit.getDefaultToolkit().getImage(getClass().getClassLoader().get
Resource("up.JPG"))));
I make jar file using the following steps
1 (共1页)
进入Java版参与讨论
相关主题
eclipse 做gui问题a question regarding applet
问下Japplet的Jbutton问题赶快帮帮我!
eclipse 怪问题再问个java的蠢问题,别骂我
强制Swing绘制Panel的一个问题愣是笨到家----整不明白applet的path
One question about Java Programming为什么我这个html找不到applet class?
JSP程序中如何在客户端启动另外的JAR程序[转载] 有用Eclipse的嘛?
Applet如何调用Server side Jar?Re: Swing问题
Re: How to write to a file on server in an applet?Re: How to make a JButton stay pressed?
相关话题的讨论汇总
话题: jar话题: problems话题: file话题: jbutton话题: reading