• 大小: 1.28MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-31
  • 语言: Java
  • 标签: 教案生成  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(“\u82AC\u8FBE\u6559\u6848\u8BBE\u8BA1 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-designer\jacob-1.17-M2-x86.dll

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

     文件      59294  2007-06-05 20:23  Tp-designer\Tp-designer\DiagramDesigner\0404_Chinese [Traditional].lrs.txt

     文件      59294  2007-06-05 20:23  Tp-designer\Tp-designer\DiagramDesigner\0804_Chinese [Simplified].lrs.txt

     文件      32768  2007-04-07 17:31  Tp-designer\Tp-designer\DiagramDesigner\DDThumb.dll

     文件      51885  2007-06-05 20:15  Tp-designer\Tp-designer\DiagramDesigner\DiagramDesigner.drc

     文件     540160  2007-06-05 20:15  Tp-designer\Tp-designer\DiagramDesigner\DiagramDesigner.exe

     文件     112640  2007-04-13 22:05  Tp-designer\Tp-designer\DiagramDesigner\DiagramReader.dll

     文件       5690  2004-03-14 23:16  Tp-designer\Tp-designer\DiagramDesigner\Electronic Symbols.ddt

     文件       3302  2006-09-17 09:35  Tp-designer\Tp-designer\DiagramDesigner\Examples\Demo.ddd

     文件       3424  2004-03-18 11:33  Tp-designer\Tp-designer\DiagramDesigner\Examples\Schematic - Automatic light.ddd

     文件        977  2004-03-18 13:45  Tp-designer\Tp-designer\DiagramDesigner\Examples\Slide show.ddd

     文件       3960  2007-05-20 23:16  Tp-designer\Tp-designer\DiagramDesigner\Flowchart.ddt

     文件        950  2006-12-23 14:30  Tp-designer\Tp-designer\DiagramDesigner\GUI design.ddt

     文件      89012  2004-01-13 22:12  Tp-designer\Tp-designer\DiagramDesigner\LaChimere AutoRealm.ddt

     文件        835  2004-01-09 21:43  Tp-designer\Tp-designer\DiagramDesigner\Line styles.ddd

     文件        660  2003-11-05 22:45  Tp-designer\Tp-designer\DiagramDesigner\Polygons.ddt

     文件       7424  2007-06-05 20:25  Tp-designer\Tp-designer\DiagramDesigner\README.TXT

     文件       2205  2005-07-17 11:43  Tp-designer\Tp-designer\DiagramDesigner\Text formatting illustration.ddd

     文件      92102  2012-11-25 08:48  Tp-designer\Tp-designer\DiagramDesigner\title.ico

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

     文件      47833  2012-04-24 20:55  Tp-designer\Tp-designer\jacob.jar

     文件      70144  2012-11-22 16:42  Tp-designer\Tp-designer\modeldoc.doc

     文件      30720  2012-11-26 10:38  Tp-designer\Tp-designer\readme.doc

     文件        378  2012-11-22 18:34  Tp-designer\TP-designers\.classpath

     文件        387  2012-10-31 20:17  Tp-designer\TP-designers\.project

     文件        598  2012-10-31 20:17  Tp-designer\TP-designers\.settings\org.eclipse.jdt.core.prefs

     文件      47833  2012-04-24 20:55  Tp-designer\TP-designers\bin\jacob.jar

     文件        708  2012-11-26 15:16  Tp-designer\TP-designers\bin\src\Mainframe$1.class

     文件       1332  2012-11-26 15:16  Tp-designer\TP-designers\bin\src\Mainframe$10.class

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

评论

共有 条评论