package stumanage;
import javax.swing.*;
import javax.swing.plaf.*;
import com.borland.dbswing.*;
import java.awt.*;
import com.borland.jbcl.layout.*;
import com.borland.dx.sql.dataset.*;
import com.borland.dx.dataset.*;
import java.awt.event.*;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
*/
public class MainFrame
extends JFrame {
PaneLayout paneLayout1 = new PaneLayout();
static JTabbedPane jTabbedPane1 = new JTabbedPane();
static JPanel jPanel1 = new JPanel();
static JPanel jPanel2 = new JPanel();
static JPanel jPanel3 = new JPanel();
static JPanel jPanel4 = new JPanel();
static JPanel jPanel5 = new JPanel();
BorderLayout borderLayout1 = new BorderLayout();
JdbNavToolBar jdbNavToolBar1 = new JdbNavToolBar();
BorderLayout borderLayout2 = new BorderLayout();
Database database1 = new Database();
JPanel jPanel6 = new JPanel();
BorderLayout borderLayout3 = new BorderLayout();
JPanel jPanel7 = new JPanel();
JPanel jPanel8 = new JPanel();
FlowLayout flowLayout1 = new FlowLayout();
JLabel jLabel1 = new JLabel();
JLabel jLabel2 = new JLabel();
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JLabel jLabel5 = new JLabel();
JLabel jLabel6 = new JLabel();
JLabel jLabel7 = new JLabel();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
TableScrollPane tableScrollPane1 = new TableScrollPane();
JdbTable jdbTable1 = new JdbTable();
QueryDataSet queryDataSet2 = new QueryDataSet();
Column column8 = new Column();
Column column9 = new Column();
Column column10 = new Column();
Column column11 = new Column();
Column column12 = new Column();
Column column13 = new Column();
Column column14 = new Column();
Font font1;
BorderLayout borderLayout4 = new BorderLayout();
JPanel jPanel9 = new JPanel();
JLabel jLabel8 = new JLabel();
JLabel jLabel9 = new JLabel();
JLabel jLabel10 = new JLabel();
JLabel jLabel11 = new JLabel();
JdbNavToolBar jdbNavToolBar2 = new JdbNavToolBar();
JPanel jPanel10 = new JPanel();
JPanel jPanel11 = new JPanel();
JPanel jPanel12 = new JPanel();
BorderLayout borderLayout5 = new BorderLayout();
JLabel jLabel12 = new JLabel();
TableScrollPane tableScrollPane2 = new TableScrollPane();
JdbTable jdbTable2 = new JdbTable();
JLabel jLabel13 = new JLabel();
TableScrollPane tableScrollPane3 = new TableScrollPane();
BorderLayout borderLayout6 = new BorderLayout();
JButton jButton3 = new JButton();
JButton jButton4 = new JButton();
XYLayout xYLayout1 = new XYLayout();
QueryDataSet queryDataSet1 = new QueryDataSet();
Column column1 = new Column();
Column column2 = new Column();
Column column3 = new Column();
Column column4 = new Column();
Column column5 = new Column();
Column column6 = new Column();
Column column7 = new Column();
JdbTable jdbTable3 = new JdbTable();
JLabel jLabel14 = new JLabel();
JLabel jLabel15 = new JLabel();
JPanel jPanel13 = new JPanel();
JLabel jLabel16 = new JLabel();
JLabel jLabel17 = new JLabel();
BorderLayout borderLayout7 = new BorderLayout();
JPanel jPanel14 = new JPanel();
JPanel jPanel15 = new JPanel();
TableScrollPane tableScrollPane4 = new TableScrollPane();
BorderLayout borderLayout8 = new BorderLayout();
BorderLayout borderLayout9 = new BorderLayout();
JPanel jPanel16 = new JPanel();
JPanel jPanel17 = new JPanel();
JPanel jPanel18 = new JPanel();
JdbTable jdbTable4 = new JdbTable();
GridBagLayout gridBagLayout1 = new GridBagLayout();
JLabel jLabel18 = new JLabel();
JLabel jLabel19 = new JLabel();
JdbTextField jdbTextField1 = new JdbTextField();
JdbTextField jdbTextField2 = new JdbTextField();
JdbTextArea jdbTextArea1 = new JdbTextArea();
BorderLayout borderLayout10 = new BorderLayout();
JButton jButton5 = new JButton();
JButton jButton6 = new JButton();
BorderLayout borderLayout11 = new BorderLayout();
JLabel jLabel20 = new JLabel();
JdbTextField jdbTextField3 = new JdbTextField();
JdbTextField jdbTextField4 = new JdbTextField();
JdbTextField jdbTextField5 = new JdbTextField();
JdbTextField jdbTextField7 = new JdbTextField();
JdbTextField jdbTextField8 = new JdbTextField();
JPanel jPanel19 = new JPanel();
GridBagLayout gridBagLayout2 = new GridBagLayout();
ButtonGroup buttonGroup1 = new ButtonGroup();
JdbRadioButton jdbRadioButton2 = new JdbRadioButton();
JdbRadioButton jdbRadioButton1 = new JdbRadioButton();
JdbNavField jdbNavField1 = new JdbNavField();
JdbTextField jdbTextField9 = new JdbTextField();
JdbTextField jdbTextField10 = new JdbTextField();
QueryDataSet queryDataSet4 = new QueryDataSet();
QueryDataSet qSet_course = new QueryDataSet();
Column column15 = new Column();
Column column16 = new Column();
Column column18 = new Column();
Column column19 = new Column();
JdbTextField jdbTextField11 = new JdbTextField();
JdbNavField jdbNavField2 = new JdbNavField();
JdbNavField jdbNavField3 = new JdbNavField();
JdbTextField jdbTextField12 = new JdbTextField();
JdbTextField jdbTextField13 = new JdbTextField();
JdbTextField jdbTextField14 = new JdbTextField();
QueryDataSet qSet_jiangli = new QueryDataSet();
Column column20 = new Column();
Column column21 = new Column();
Column column22 = new Column();
Column column23 = new Column();
Column column24 = new Column();
Column column25 = new Column();
JdbNavToolBar jdbNavToolBar3 = new JdbNavToolBar();
public MainFrame() {
try {
jbInit();
}
catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception e) {
}
//System.out.println(new javax.swing.UIManager());
Font f = new java.awt.Font("SansSerif", 0, 12);
UIManager.put("Label.font",f);
UIManager.put("Label.foreground",Color.black);
UIManager.put("Button.font",f);
UIManager.put("Menu.font",f);
UIManager.put("MenuItem.font",f);
UIManager.put("List.font",f);
UIManager.put("CheckBox.font",f);
UIManager.put("RadioButton.font",f);
UIManager.put("ComboBox.font",f);
UIManager.put("TextArea.font",f);
UIManager.put("dbTextArea.font",f);
UIManager.put("font",f);
MainFrame mainFrame = new MainFrame();
mainFrame.setFont(new java.awt.Font("SansSerif", 0, 12));
mainFrame.pack();
mainFrame.setSize(600,450);
mainFrame.show();
}
private void jbInit() throws Exception {
font1 = new java.awt.Font("SansSerif", 0, 12);
this.getContentPane().setLayout(paneLayout1);
jPanel1.setLayout(borderLayout1);
jdbNavToolBar1.setDebugGraphicsOptions(0);
jdbNavToolBar1.setAlignment(FlowLayout.CENTER);
jPanel5.setLayout(borderLayout2);
database1.setConnection(new com.borland.dx.sql.dataset.ConnectionDescriptor("jdbc:microsoft:sqlserver://localhost:1433;databaseName=student", "sa", "sa", false, "com.microsoft.jdbc.sqlserver.SQLServerDriver"));
database1.setDatabaseName("");
jPanel6.setFont(new java.awt.Font("SansSerif", 0, 12));
jPanel6.setMinimumSize(new Dimension(50, 100));
jPanel6.setPreferredSize(new Dimension(50, 110));
jPanel6.setLayout(borderLayout3);
jPanel7.setFont(new java.awt.Font("SansSerif", 0, 12));
jPanel7.setMinimumSize(new Dimension(100, 30));
jPanel7.setPreferredSize(new Dimension(100, 40));
jPanel7.setLayout(flowLayout1);
jPanel8.setFont(new java.awt.Font("SansSerif", 0, 12));
jPanel8.setMinimumSize(new Dimension(10, 10));
jPanel8.setLayout(gridBagLayout2);
jLabel1.setText("学号:");
flowLayout1.setAlignment(FlowLayout.LEFT);
jLabel2.setHorizontalAlignment(SwingCon
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
.rar (25个子文件)
学生信息管理系统
学生信息管理系统
stumanage
stumanage.jpx 3KB
stumanage.jpx.local 2KB
beautiful.jpg 36KB
bak
stumanage
src
stumanage
MainFrame.java 36KB
MainFrame.jbx 6KB
WelcomeFrame.java 6KB
beautiful.jpg 30KB
classes
stumanage
WelcomeFrame.class 5KB
WelcomeFrame$MyPanel.class 806B
WelcomeFrame_jButton5_actionAdapter.class 703B
WelcomeFrame_jButton2_actionAdapter.class 703B
MainFrame_qSet_course_rowFilterAdapter.class 818B
WelcomeFrame_jButton1_actionAdapter.class 703B
beautiful.jpg 30KB
MainFrame_jPanel3_focusAdapter.class 644B
WelcomeFrame_jButton3_actionAdapter.class 703B
MainFrame_queryDataSet2_navigationAdapter.class 732B
MainFrame.class 25KB
MainFrame_jButton1_actionAdapter.class 685B
MainFrame_jButton3_actionAdapter.class 685B
MainFrame_jButton4_actionAdapter.class 685B
WelcomeFrame_jButton4_actionAdapter.class 703B
package cache
stumanage.dep2 20KB
数据库脚本和数据库备份
stu.sql 9KB
stu 1.08MB
共 25 条
- 1
资源评论
- zh6577501372013-05-02看起来很不错
- x5194909832013-04-20有不错的借鉴价值
licl19870605
- 粉丝: 58
- 资源: 70
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功