TextField text=new TextField(30); Button b=new Button("ok"); b.addActionListener(this); public void actionPerformed(ActionEvent e) { if(e.getSource()==b) text.setValue(new Date); }
text.setValue(new Date)
=TODAY()
就按他们说的那样做呀