1. 首页
  2. 编程语言
  3. Java
  4. 有时钟的多线程

有时钟的多线程

上传者: 2019-06-04 15:43:04上传 RAR文件 33.91KB 热度 35次
publicvoidrun(){JFrameframe=newJFrame();JLabellabel=newJLabel();Containercon=frame.getContentPane();frame.setBounds(300,300,100,100);frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);StringstrTime=String.format("%tT",newDate());label.setText(strTime);label.setFont(newFont
下载地址
用户评论