Redian新闻
>
what's wrong with this simple applet? (转载)
avatar
what's wrong with this simple applet? (转载)# Java - 爪哇娇娃
c*n
1
【 以下文字转载自 Linux 讨论区 】
发信人: creation (yy), 信区: Linux
标 题: what's wrong with this simple applet?
发信站: BBS 未名空间站 (Mon Feb 20 20:03:02 2006), 站内
发信人: creation (yy), 信区: Programming
标 题: what's wrong with this simple applet?
发信站: BBS 未名空间站 (Mon Feb 20 20:02:57 2006), 转信
import java.awt.*;
public class MyApplet extends java.applet.Applet{
public void init(){
setLayout(new BorderLayout());
add("Center", new MyPane());
}
}
class MyPane extends Panel{}
the browser fails to execute the applet,
if I chan
avatar
c*n
2
nevermind,
I think it probably has to do with cached bad .class
now I have to close browser every time I rewrite it.
but the stuff still does not work.
if I drawstring("asdfasdf", 10, 200000)
in the paint() of MyPane(),
it still freezes
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。