62,616
社区成员
发帖
与我相关
我的任务
分享
btnUpdate.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
btnGet2.setText(((JButton)e.getSource()).getText());
}
});
public class Test {
public static void main(String[] args) {
Thread t = new Thread() {
private int i = 0;
public void run() {
while(true) {
System.out.println("i = " + i++);
}
}
};
t.start();
}
}
public class Parcel6 {