• 大小: 133KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-24
  • 语言: 其他
  • 标签: thread  java  

资源简介

eclipse多线程的实现,简单动画操作,源代码

资源截图

代码片段和文件信息

package com.test.michael.application;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;

public class NewJframe extends javax.swing.Jframe {

/**
* Auto-generated main method to display this Jframe
*/
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
NewJframe inst = new NewJframe();
inst.setLocationRelativeTo(null);
inst.setVisible(true);
}
});
}

public NewJframe() {
super();
initGUI();
}

private void initGUI() {
try {
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
pack();
setSize(400 300);
} catch (Exception e) {
e.printStackTrace();
}
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        375  2008-10-31 15:35  Animation\.classpath

     文件        765  2008-10-31 15:35  Animation\.project

     文件        123  2008-10-31 15:35  Animation\.settings\org.codehaus.groovy.eclipse.preferences.prefs

     文件        272  2008-10-31 15:35  Animation\.settings\org.eclipse.jdt.core.prefs

     文件        732  2008-10-31 15:35  Animation\bin\com\test\michael\application\NewJframe$1.class

     文件        932  2008-10-31 15:35  Animation\bin\com\test\michael\application\NewJframe.class

     文件       1089  2008-10-31 15:35  Animation\bin\test\MyPanel$AnimationThread.class

     文件       3508  2008-10-31 15:35  Animation\bin\test\MyPanel.class

     文件        872  2008-10-31 15:35  Animation\bin\test\TestAnimation.class

     文件        574  2008-10-31 15:35  Animation\bin\test\TestApplication.class

     文件       4174  2008-10-31 15:35  Animation\bin-groovy\com\test\michael\application\Sdfa.class

     文件      96743  2008-10-31 15:35  Animation\image\country.jpg

    ..A.SH.     14336  2008-11-16 12:43  Animation\image\Thumbs.db

     文件      16981  2008-10-31 15:35  Animation\image\tiger.png

     文件      16519  2008-10-31 15:35  Animation\image\tiger_stop.png

     文件        697  2008-10-31 15:35  Animation\src\com\test\michael\application\NewJframe.java

     文件       3576  2008-10-31 15:35  Animation\src\test\MyPanel.java

     文件        485  2008-11-16 12:43  Animation\src\test\TestAnimation.java

     文件        241  2008-11-16 12:43  Animation\src\test\TestApplication.java

     目录          0  2008-10-31 15:35  Animation\bin\com\test\michael\application

     目录          0  2008-10-31 15:35  Animation\bin-groovy\com\test\michael\application

     目录          0  2008-10-31 15:35  Animation\src\com\test\michael\application

     目录          0  2008-10-31 15:35  Animation\bin\com\test\michael

     目录          0  2008-10-31 15:35  Animation\bin-groovy\com\test\michael

     目录          0  2008-10-31 15:35  Animation\src\com\test\michael

     目录          0  2008-10-31 15:35  Animation\bin\com\test

     目录          0  2008-10-31 15:35  Animation\bin-groovy\com\test

     目录          0  2008-10-31 15:35  Animation\src\com\test

     目录          0  2008-10-31 15:35  Animation\bin\com

     目录          0  2008-10-31 15:35  Animation\bin\test

............此处省略12个文件信息

评论

共有 条评论