• 大小: 24KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-07
  • 语言: Java
  • 标签:

资源简介

JAVA小系统,学生教师信息录入系统,信息虽小但是功能完整。

资源截图

代码片段和文件信息

package a;
import java.awt.*;
import java.awt.event.*;
import java.io.File;

public class help extends frame implements ActionListenerWindowListener
{   
private Panel pane;
private TextArea text_Output;
private Button button;
public help(SchoolSystem SchoolSystem File file)
    {
super(“ 帮助对话框“);           //待填充代码【代码1】
    this.setLayout(new GridLayout(12));
Panel f=new Panel();
    f.setLocation(300300); 
    f.setSize(150150);
    this.add(f);
    //
    text_Output=new TextArea(1030);
    text_Output.setText(“    物流二班--JAVA第一小组\n“
                                      +“ \n“
                                      +“组员:“+“谭美芬    郭锐锋   郭杰和\n“
                                         
                                             
                                              +“     李洁莹    洪焕标   范小龙\n“
                                    
                                              +“     何伯卿    李泓   \n“
                                             
                                      );
    f.add(text_Output);
    
    //
    button=new Button(“确定“);               
        button.addActionListener(this);
    f.add(button);
        this.setSize(350250);
        this.setLocation(330130);
        this.setVisible(false);
        this.addWindowListener(this);
   }
 public void actionPerformed(ActionEvent e)     //待填充代码,单击按钮时触发执行
     {
      //
      if(e.getActionCommand()==“确定“)            //退出系统设置
        setVisible(false);
     }
 public void windowClosing(WindowEvent e) //单击窗口上的关闭按钮时触发执行
     {
 setVisible(false);
     }
  public void windowOpened(WindowEvent e)         {  }
  public void windowActivated(WindowEvent e)      {  }
  public void windowDeactivated(WindowEvent e)    {  }
  public void windowClosed(WindowEvent e)         {  }
  public void windowIconified(WindowEvent e)      {  }
  public void windowDeiconified(WindowEvent e)    {  }


}

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

     文件        708  2008-11-25 22:27  JAVA小程序\Graduate.class

     文件       2073  2008-11-26 01:27  JAVA小程序\help.java

     文件        531  2008-11-25 22:38  JAVA小程序\SchoolSystem$1.class

     文件        504  2008-11-25 22:38  JAVA小程序\SchoolSystem$2.class

     文件       3076  2008-11-25 22:38  JAVA小程序\SchoolSystem.class

     文件       2939  2008-11-26 01:25  JAVA小程序\SchoolSystem.java

     文件       5505  2008-11-25 22:27  JAVA小程序\Student.class

     文件       6194  2008-11-26 01:27  JAVA小程序\Student.java

     文件       5470  2008-11-25 22:27  JAVA小程序\Teacher.class

     文件       6181  2008-11-26 01:27  JAVA小程序\Teacher.java

     文件        710  2008-11-26 01:27  JAVA小程序\a\Graduate.class

     文件       1987  2008-11-26 01:27  JAVA小程序\a\help.class

     文件        539  2008-12-07 13:27  JAVA小程序\a\SchoolSystem$1.class

     文件        512  2008-12-07 13:27  JAVA小程序\a\SchoolSystem$2.class

     文件       3130  2008-12-07 13:27  JAVA小程序\a\SchoolSystem.class

     文件       5461  2008-11-26 01:27  JAVA小程序\a\Student.class

     文件       5426  2008-11-26 01:27  JAVA小程序\a\Teacher.class

     目录          0  2008-11-26 18:18  JAVA小程序\a

     目录          0  2008-11-26 18:18  JAVA小程序

----------- ---------  ---------- -----  ----

                50946                    19


评论

共有 条评论

相关资源