不是什么错误,只是提示你使用了不建议使用的api。
你可以看看doc,还有什么api不建议使用,把它换成新的就好了
你可以看看doc,还有什么api不建议使用,把它换成新的就好了
解决方案 »
- 谈谈自己现在
- 问下根据vipid修改用户信息,采用struts2+hibernate3
- strut1的问题,显示不了数据
- 企业里面是struts1.x主流还是struts2.x主流
- 在中软国际面试的经历
- 关于Hibernate createCriteria级连查询的问题
- Hibernate求助
- 新闻系统中,新闻内容字段类型一般都用什么?
- 我想得到一个局部变量的变量名,具体来说应该怎么做啊?
- spring 调用oracle存储过程??
- 用jb9开发ejb的问题——————新建一个ejb module 结果报错:could not find main class
- 高手赐教!!!!1000分跪求!!!配置方法!!
如:javac -deprecation HelloWorld.java
public class wu
{
public void main(String args[])
{
ApplctFrame MyFrame= new ApplctFrame();
}
}
class ApplctFrame extends Frame
{
Label prompt;
TextField input;
Label output;
ApplctFrame()
{
super("Application Grahpics Frame");
setLayout(new FlowLayout());
prompt=new Label("Enter a character please:");
input=new TextField(10);
output=new Label(" ");
add(prompt);
add(input);
add(output);
pack();
show();
}
public boolean action(Event e,Object o)
{
output.setText("you have entered character"+o.toString());
return true;
}
public boolean handleEvent(Event e)
{
if(e.id==Event.WINDOW_DESTROY)
System.exit(0);
return super.handleEvent(e);//是不是这个方法?
}
}