class ButtonPanel extends JPanel
{ /**
*
*/
private static final long serialVersionUID = 31126401022136278L; public ButtonPanel()
{
JButton yellowButton = new JButton("yellow");
JButton blueButton = new JButton("blue");
add(yellowButton);
add(blueButton);
}
}为什么在eclips里面编译的时候要加
private static final long serialVersionUID = 31126401022136278L;
在其jcreator中却不用加,请高手指点
{ /**
*
*/
private static final long serialVersionUID = 31126401022136278L; public ButtonPanel()
{
JButton yellowButton = new JButton("yellow");
JButton blueButton = new JButton("blue");
add(yellowButton);
add(blueButton);
}
}为什么在eclips里面编译的时候要加
private static final long serialVersionUID = 31126401022136278L;
在其jcreator中却不用加,请高手指点
解决方案 »
- 伟大的CSDN网友 救救我呗 HttpClient 发帖问题困惑的我想死
- 从Exlipse转到JCreator找不到类文件
- 如何用for循环打出下面的图形
- 请问一个XML注释的问题。
- JSP更新数据库出错,错在哪?
- getArray()怎么用?
- 在不同的DBconnection中,使用preparedstatement会比statement有性能的提高吗?
- 请问怎么用client通过server连接database sql里面的数据库,是不是要用rmi的方法,可不可以提供一些简单的例子给我?多谢!!另外怎么用m
- 日他妈的老板老是要我们加班?
- 谁有api文档提供下载,别告诉去sun
- 使用Ant时遇到的问题,请教.
- 关于Struts中的ActionForm
可以在eclipse中把这个警告ignore的
如果你不需要可以去windows->preference中去ignore