[求助]请问?
import javax.swing.*;public class testf
{
public static void main(String[] args){
JFrame frame=new JFrame("框架窗口");
frame.setSize(400,300);
JButton btnok=new JButton("确定");
frame.getContentPane().add(btnok);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.show();
}
}
用javac编译时提示下面警告:
Note: testf.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
请问是什么意思啊?
JAVA初学者..................................................................