所以我想创建一个JSpinner的子类,这样我就可以隐藏所有的配置。问题是当我把这个对象放在JFrame上时,我得到了UI找不到的错误。 我无法找出我错过.. public class Time extends JSpinner {
public Time() {
super();
SpinnerDateModel SpinnerModel = new Spin
我使用当前时间使用datemodel设置JSpinner。 startDateModel = new SpinnerDateModel(Calendar.getInstance().getTime(),null,null,Calendar.YEAR);
startDateSpinner = new JSpinner(startDateModel);
JSpinner.DateE
这可能是一个很简单的问题,但我有一个AbstractTable,在我列一个我试图添加ChangeListener,但它给我一个错误的错误是: The method actionListener(ChangeListener) in the type JSpinner is not applicable
for the arguments (new ChangeListener(){})