• 大小: 57KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-12
  • 语言: Java
  • 标签: 学生评教  

资源简介

java课程设计之学生评教系统 设计书,源代码

资源截图

代码片段和文件信息


import Table1.*;
import Table2.*;

import javax.swing.border.*;
import javax.swing.table.*;
import javax.swing.JTable.*;
//import pingjiao.*;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
import javax.swing.JTextArea.*;
public  class Loading extends frame implements ActionListenerItemListener{ 
                     
                     TextField txtUsername= new TextField(5);
                     JPasswordField  txtPassWord=new JPasswordField(5);                 
                     Choice ch=new Choice();                                        
                     JButton btnOK=new JButton(“登陆“);                   
                     String s=““;

                     Font fn=new Font(“Sans Serif“Font.BOLD16);
                     FileInputStream input;
                     objectInputStream objread; 
                     FileInputStream input1;
                     objectInputStream objread1; 
                     FileInputStream input2;
                     objectInputStream objread2;             
                     public static void main(String [] args){
                                     Loading load=new Loading();
                                     load.creatInterface();
                     }

                     public void creatInterface(){
                                     settitle(“Loading“);
                                     setLayout(new GridLayout(4211));
                                     Label lalzc=new Label(“职称:“);
                                     lalzc.setFont(fn);
                                     
                                     add(lalzc);
                                     add(ch); 
                                     ch.addItem(“选择职称“);
                                     ch.addItem(“学生“);
                                     ch.addItem(“教师“);
                                     ch.addItem(“管理员“); 
                                     //ch.setSelectedItem(“学生“);                                
                                     ch.addItemListener(this);
                                     Label lalname=new Label(“用户名:“);
                                     lalname.setFont(fn);
                                     add(lalname);
                                     add(txtUsername);

                                     //txtUsername.setBackground(Color.green);
                                     Label lalpwd=new Label(“密码:“);
                                     lalpwd.setFont(fn);
                                     add(lalpwd);
                                     add(txtPassWord);
                                     //txtPassWord.setBackground(Color.green);
                                     add(btnOK);
                                     //btnOK.setBackground(Color.green);
                                     btnOK.addActionLi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-06-20 11:01  学生评教java\
     文件         478  2011-06-20 10:38  学生评教java\Loading$1.class
     文件        5092  2011-06-20 10:38  学生评教java\Loading.class
     文件       26252  2010-12-19 15:27  学生评教java\Loading.java
     文件         262  2010-11-29 20:30  学生评教java\Manager.txt
     文件        3038  2011-06-20 10:38  学生评教java\MenuApp.class
     文件         611  2011-06-20 10:38  学生评教java\Message.class
     文件        1285  2011-06-20 10:38  学生评教java\pingjiao.class
     文件        2971  2011-06-20 10:38  学生评教java\pingjiao2.class
     文件         546  2011-06-20 10:38  学生评教java\ShowStudentWord$1.class
     文件        2361  2011-06-20 10:38  学生评教java\ShowStudentWord.class
     文件         306  2010-12-22 11:27  学生评教java\Student.txt
     文件         668  2010-12-24 17:14  学生评教java\StudentWord.txt
     目录           0  2011-06-20 11:01  学生评教java\Table1\
     文件         814  2010-12-19 14:06  学生评教java\Table1\GenderEditor$1.class
     文件        2199  2010-12-19 14:06  学生评教java\Table1\GenderEditor.class
     文件       12663  2010-12-19 14:05  学生评教java\Table1\GenderEditor.java
     文件         748  2010-12-18 19:12  学生评教java\Table1\GenderRenderer.class
     文件        1745  2010-12-18 19:10  学生评教java\Table1\GenderRenderer.java
     文件         855  2010-12-18 22:35  学生评教java\Table1\pingjiao2$1.class
     文件        5500  2010-12-19 14:06  学生评教java\Table1\pingjiao2.class
     文件        1792  2010-12-14 19:12  学生评教java\Table1\TableValues.class
     文件        2397  2010-12-14 19:12  学生评教java\Table1\TableValues.java
     目录           0  2011-06-20 11:01  学生评教java\Table2\
     文件         639  2010-12-18 16:00  学生评教java\Table2\CurrencyRenderer.class
     文件         868  2010-12-18 15:49  学生评教java\Table2\CurrencyRenderer.java
     文件         552  2010-12-18 14:37  学生评教java\Table2\GenderEditor1$1.class
     文件        2320  2010-12-18 14:37  学生评教java\Table2\GenderEditor1.class
     文件        4765  2010-12-18 14:37  学生评教java\Table2\GenderEditor1.java
     文件         957  2010-12-24 17:14  学生评教java\Table2\GenderRenderer1.class
     文件        1981  2010-12-24 17:11  学生评教java\Table2\GenderRenderer1.java
............此处省略22个文件信息

评论

共有 条评论

相关资源