package text;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Vector;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.GroupLayout;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JComponent;
import javax.swing.JDesktopPane;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.LayoutStyle;
import javax.swing.WindowConstants;
import javax.swing.border.TitledBorder;
import javax.swing.event.InternalFrameEvent;
import javax.swing.event.InternalFrameListener;
import javax.swing.filechooser.FileFilter;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
/**
* This code was edited or generated using CloudGarden's Jigloo SWT/Swing GUI
* Builder, which is free for non-commercial use. If Jigloo is being used
* commercially (ie, by a corporation, company or business for any purpose
* whatever) then you should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details. Use of Jigloo implies
* acceptance of these licensing terms. A COMMERCIAL LICENSE HAS NOT BEEN
* PURCHASED FOR THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED LEGALLY FOR
* ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class StudentCourseJInternalFrame extends javax.swing.JInternalFrame implements ActionListener, ItemListener,InternalFrameListener {
{
// Set Look & Feel
try {
javax.swing.UIManager.setLookAndFeel("com.jgoodies.looks.plastic.Plastic3DLookAndFeel");
} catch(Exception e) {
e.printStackTrace();
}
}
private JSplitPane jSplitPane1;
private JButton jButton4;
private JButton jButton3;
private JPanel jPanel1;
private JScrollPane jScrollPane1;
private JLabel jLabel3;
private JTextField jTextField6;
private JComboBox jComboBox4;
private JButton jButton2;
private JButton jButton1;
private JPanel jPanel3;
private JTextField jTextField5;
private JTextField jTextField4;
private JTextField jTextField3;
private JComboBox jComboBox3;
private JComboBox jComboBox2;
private JComboBox jComboBox1;
private JPanel jPanel2;
private JTextField jTextField2;
private JLabel jLabel2;
private JTextField jTextField1;
private JLabel jLabel1;
private JTable jTable1;
DefaultTableModel dtm;
String[] title;Vector v1=null,v2=null,v3=null;
String oldValue=null,currentValue=null;
int xuanxiucourse=0;
InputStream in=null;
FileOutputStream fileout=null;
ImageIcon icon=null;
int seleno1=0,seleno2=0,seleno3=0;
public static boolean jMenuItem18=false;
JFileChooser fc;
File file;
String fname=null;
public Statement st = null,st1=null,st2=null,st3=null,stno1=null,stphoto=null,stno2=null,stno3=null,stno4=null,selno1=null,selno2=null,selno3=null,selno4=null,sta=null,sta1=null,sta2=null,sta3=null,sta4=null;static ResultSet rs,rs1=null,rs2=null,rs3=null,rs4=null,rsno1=null,rsno2=null,rsno3=null,rsno4=null;
/**
* Auto-generated main method to display this JInternalFrame inside a new
* JFrame.
*/
public StudentCourseJInternalFrame(String s, boolean b, boolean c, boolean d, boolean e) {
super(s, b, c, d, e);
this.setVisible(true);
this.setSize(500, 500);
this.addInternalFrameListener(this);
try {
setPreferredSize(new Dimension(500, 500));
setVisible(true);
{
jSplitPane1 = new JSplitPane();
getContentPane().add(jSplitPane1, BorderLayout.CENTER);
jSplitPane1.setPreferredSize(new java.awt.Dimension(583, 476));
jPanel1 = new JPanel();
GroupLayout jPanel1Layout = new GroupLayout((JComponent)jPanel1);
jPanel1.setLayout(jPanel1Layout);
jSplitPane1.add(jPanel1, JSplitPane.LEFT);
jPanel1.setPreferredSize(new java.awt.Dimension(309, 474));
jPanel1.setVerifyInputWhenFocusTarget(false);
jLabel1 = new JLabel();
jLabel1.setText("\u5b66\u53f7");
jPanel2 = new JPanel();
GroupLayout jPanel2Layout = new GroupLayout((JComponent)jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2.setBorder(new TitledBorder("斛党諺最"));
jComboBox1 = new JComboBox();
jComboBox1.addItemListener(this);
jComboBox2 = new JComboBox();
jComboBox2.addItemListener(this);
jComboBox3 = new JComboBox();
jComboBox3.addItemListener(this);
jTextField3 = new JTextField();
jTextField3.setEditable(false);
jTextField4 = new JTextField();
jTextField4.setEditable(false);
jTextField5 = new JTextField();
jTextField5.setEditable(false);
jPanel2Layout.setVerticalGroup(jPanel2Layout.createSequentialGroup()
.addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
.addComponent(jComboBox1, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
.addComponent(jTextField3, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
.addGap(16)
.addGroup(jPanel2Layout.createParallelGroup()
.addGroup(GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup()
.addComponent(jComboBox2, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
.addGap(7))
.addGroup(GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup()
.addGap(7)
.addComponent(jTextField4, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel2Layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
.addComponent(jComboBox3, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
.addComponent(jTextField5, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, 22, GroupLayout.PREFERRED_SIZE))
.addContainerGap());
jPanel2Layout.setHorizontalGroup(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel2Layout.createParallelGroup()
.addComponent(jComboBox1, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE)
.addComponent(jComboBox2, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE)
.addComponent(jComboBox3, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 80, GroupLayout.PREFERRED_SIZE))
.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel2Layout.createParallelGroup()
.addComponent(jTextField3, GroupLayout.Alignment.LEADING, 0, 77, Short.MAX_VALUE)
.addComponent(jTextField4, GroupLayout.Alignment.LEADING, 0, 77, Short.MAX_VALUE)
.addGroup(GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup()
.addComponent(jTextField5, 0, 72, Short.MAX_VALUE)
没有合适的资源?快使用搜索试试~ 我知道了~
用可视化可视化eclipse编写的学生管理系统,功能比较齐全。建议分享
共33个文件
java:18个
jpg:9个
class:2个
需积分: 10 9 下载量 51 浏览量
2009-05-26
11:58:22
上传
评论 1
收藏 461KB RAR 举报
温馨提示
没有导出jar包。要用可视化eclipse。免费提供软件,联系QQ:155141573.及供参考
资源推荐
资源详情
资源评论
收起资源包目录
StudentManagerSystem.rar (33个子文件)
StudentManagerSystem
.project 396B
text
CourseView_ManageFrame.java 8KB
AlterStuMsgJFrame.java 18KB
ManageStuJInternalFrame.java 10KB
NewViewedJInternalFrame.java 9KB
AddStuMsgJFrame.java 20KB
PasswordUpFrame.java 9KB
UserRegist.java 23KB
TeacherScoreJInternalFrame.java 16KB
NewFeedbackJDialog.java 11KB
NewMainJFrame.java 14KB
UserLogin.java 11KB
ScoreViewJInternalFrame.java 19KB
UserRegist$7.class 1KB
StudentCourseJInternalFrame.java 26KB
NewPrivacyJDialog.java 7KB
usermessage.java 4KB
Textcon.java 718B
UserRegist.class 12KB
NewManageJInternalFrame.java 14KB
InstructorScoreJInternalFrame.java 11KB
image
1010108.jpg 4KB
1010103.jpg 4KB
1010104.jpg 4KB
2.jpg 506B
1010107.jpg 2KB
1.jpg 511B
Thumbs.db 31KB
1010102.jpg 4KB
1010101.jpg 4KB
1010105.jpg 5KB
.classpath 641B
lib
looks-2.1.4.jar 400KB
共 33 条
- 1
资源评论
qhdyangshuai
- 粉丝: 2
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功