标签: java
t2=new JTextField(5); this.add(t2); t2.setBounds(450,50,100,20);
这是我的查询!!有谁知道答案?
答案 0 :(得分:0)
尝试类似:
Date date = new Date();//you could use Calander and formatter if you need date in particular format. t2.setText(date.toString());