JAVA一个简单的教案生成软件


将TP-designer文件夹复制到C:/ Program Files/下 复制jacob-1.17-M2-x86.dll到以下目录 Jdk/bin C:/windows/system32 Jdk/jre/bin x86版本 用于生成WORD版的课程教学计划。
资源截图
代码片段和文件信息
package src;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.EventQueue;
import java.awt.frame;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.Toolkit;

import javax.swing.Jframe;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumnModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.JLabel;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JTextArea;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.io.*;

import javax.swing.JScrollPane;
import javax.swing.JTable;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.border.LineBorder;
import java.awt.Color;
import javax.swing.border.BevelBorder;


public class Mainframe extends Jframe {
Statements sm;
Newtwo newtwo;
final JPanel panel=new JPanel();
private JPanel contentPane;
private JTable table;
JScrollPane scrollPane;
JMenuItem jbxx;
JMenuItem jks ;
JMenuItem jxmbcs ;
JMenuItem xxztzfx;
JMenuItem bkcmbtx;
    private DefaultTableModel model;
    private JMenuItem xkgnt;
    private JMenuItem zsdzy;
    private JMenuItem jchjsfx;
    private JMenu xgitem;
    private JMenuItem jbxg;
    private JMenu jjxg;
    private JMenuItem mbtxxg;
    private JMenuItem zsdzyxg;
    private JMenuItem jsjcfxxg;
    private JMenuItem save;
    private JMenuItem dc;
    private JMenuItem mntmNewMenuItem;
    private JMenuItem mntmNewMenuItem_1;
    private JMenu mnNewMenu_1;
    private JMenuItem mntmNewMenuItem_2;
    private JMenuItem mntmNewMenuItem_3;
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
Mainframe frame = new Mainframe();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}

public Mainframe() {

setIconImage(Toolkit.getDefaultToolkit().getImage(Mainframe.class.getResource(“/com/sun/java/swing/plaf/windows/icons/DetailsView.gif“)));

settitle(“u82ACu8FBEu6559u6848u8BBEu8BA1 V 0.1“);
try {
UIManager.setLookAndFeel(“com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel“);
} catch (ClassNotFoundException e3) {
// TODO Auto-generated catch block
e3.printStackTrace();
} catch (InstantiationException e3) {
// TODO Auto-generated catch block
e3.printStackTrace();
} catch (IllegalAccessException e3) {
// TODO Auto-generated catch block
e3.printStackTrace();
} catch (UnsupportedLookAndFeelException e3) {
// TODO Auto-generat

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

     文件     176128  2012-04-24 20:55  Tp-designerjacob-1.17-M2-x86.dll

     文件      28672  2012-11-30 16:04  Tp-designer
eadme.doc

     文件      59294  2007-06-05 20:23  Tp-designerTp-designerDiagramDesigner404_Chinese [Traditional].lrs.txt

     文件      59294  2007-06-05 20:23  Tp-designerTp-designerDiagramDesigner804_Chinese [Simplified].lrs.txt

     文件      32768  2007-04-07 17:31  Tp-designerTp-designerDiagramDesignerDDThumb.dll

     文件      51885  2007-06-05 20:15  Tp-designerTp-designerDiagramDesignerDiagramDesigner.drc

     文件     540160  2007-06-05 20:15  Tp-designerTp-designerDiagramDesignerDiagramDesigner.exe

     文件     112640  2007-04-13 22:05  Tp-designerTp-designerDiagramDesignerDiagramReader.dll

     文件       5690  2004-03-14 23:16  Tp-designerTp-designerDiagramDesignerElectronic Symbols.ddt

     文件       3302  2006-09-17 09:35  Tp-designerTp-designerDiagramDesignerExamplesDemo.ddd

     文件       3424  2004-03-18 11:33  Tp-designerTp-designerDiagramDesignerExamplesSchematic - Automatic light.ddd

     文件        977  2004-03-18 13:45  Tp-designerTp-designerDiagramDesignerExamplesSlide show.ddd

     文件       3960  2007-05-20 23:16  Tp-designerTp-designerDiagramDesignerFlowchart.ddt

     文件        950  2006-12-23 14:30  Tp-designerTp-designerDiagramDesignerGUI design.ddt

     文件      89012  2004-01-13 22:12  Tp-designerTp-designerDiagramDesignerLaChimere AutoRealm.ddt

     文件        835  2004-01-09 21:43  Tp-designerTp-designerDiagramDesignerLine styles.ddd

     文件        660  2003-11-05 22:45  Tp-designerTp-designerDiagramDesignerPolygons.ddt

     文件       7424  2007-06-05 20:25  Tp-designerTp-designerDiagramDesignerREADME.TXT

     文件       2205  2005-07-17 11:43  Tp-designerTp-designerDiagramDesignerText formatting illustration.ddd

     文件      92102  2012-11-25 08:48  Tp-designerTp-designerDiagramDesigner itle.ico

     文件     176128  2012-04-24 20:55  Tp-designerTp-designerjacob-1.17-M2-x86.dll

     文件      47833  2012-04-24 20:55  Tp-designerTp-designerjacob.jar

     文件      70144  2012-11-22 16:42  Tp-designerTp-designermodeldoc.doc

     文件      30720  2012-11-26 10:38  Tp-designerTp-designer
eadme.doc

     文件        378  2012-11-22 18:34  Tp-designerTP-designers.classpath

     文件        387  2012-10-31 20:17  Tp-designerTP-designers.project

     文件        598  2012-10-31 20:17  Tp-designerTP-designers.settingsorg.eclipse.jdt.core.prefs

     文件      47833  2012-04-24 20:55  Tp-designerTP-designersinjacob.jar

     文件        708  2012-11-26 15:16  Tp-designerTP-designersinsrcMainframe$1.class

     文件       1332  2012-11-26 15:16  Tp-designerTP-designersinsrcMainframe$10.class

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)