资源简介

使用JDBC操作sqlserver2005数据库 常用数据库操作对象的使用 ArrayList和Vector的使用 加深对集合框架的理解 swing的使用

资源截图

代码片段和文件信息

package com.handson.netbar.client;

import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.Jframe;
import javax.swing.SwingConstants;
import java.awt.Rectangle;
import java.awt.Dimension;

/**
 * @version 1.0
 */
public class AboutDialog extends JDialog {

/**
 * versin information panel.
 */
JPanel aboutInfoPanel = new JPanel();
/**
 * version label.
 */
JLabel versionLabell = new JLabel();
/**
 * copyright label.
 */
JLabel copyrightLabel = new JLabel();

/**
 * constructor using super class.
 * 
 * @param frame
 *            Jframe
 * @param title
 *            String
 * @param modal
 *            boolean
 */
public AboutDialog(Jframe frame String title boolean modal) {
super(frame title modal);
int locationX = 400;
int locationY = 250;
this.setLocation(locationX locationY);
try {
jbInit();
pack();
} catch (Exception ex) {
ex.printStackTrace();
}
}

/**
 * constuctor.
 */
public AboutDialog() {
this(null ““ false);
}

/**
 * init.
 * 
 * @throws Exception
 */
private void jbInit() throws Exception {

java.awt.Font font = new java.awt.Font(“Serif“ 0 12);
versionLabell.setFont(font);
versionLabell.setHorizontalAlignment(SwingConstants.CENTER);
versionLabell.setText(“版本: 1.0“);
versionLabell.setBounds(new Rectangle(0 20 200 20));

copyrightLabel.setFont(font);
copyrightLabel.setHorizontalAlignment(SwingConstants.CENTER);
copyrightLabel.setText(“版权:山东师创Handson软件实训“);
copyrightLabel.setBounds(new Rectangle(0 40 200 20));

aboutInfoPanel.setLayout(null);
aboutInfoPanel.setPreferredSize(new Dimension(200 80));
aboutInfoPanel.add(versionLabell null);
aboutInfoPanel.add(copyrightLabel null);

getContentPane().add(aboutInfoPanel);
}

}

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

     文件        282  2010-06-13 15:13  NetBarFeeManagement\.classpath

     文件        395  2010-06-13 15:11  NetBarFeeManagement\.project

     文件       2247  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\AboutDialog.class

     文件       6995  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\CheckInPanel.class

     文件       5351  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\CheckOutDialog.class

     文件        810  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\CheckOutDialog_ConfirmButton_ActionAdapter.class

     文件        804  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\CheckOutDialog_ResetButton_ActionAdapter.class

     文件       3389  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\CheckOutResultPanel.class

     文件        999  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\ComsumeDisplayData.class

     文件       1539  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\MainApplication.class

     文件        833  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\Mainframe_jMenuCheckIn_ActionAdapter.class

     文件        836  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\Mainframe_jMenuCheckOut_ActionAdapter.class

     文件        836  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\Mainframe_JMenuExitExit_ActionAdapter.class

     文件        839  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\Mainframe_JMenuHelpAbout_ActionAdapter.class

     文件       4703  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\NetBarFeeMangementframe.class

     文件        794  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\UseInPanel_confirmButton_actionAdapter.class

     文件        788  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\client\UseInPanel_resetButton_actionAdapter.class

     文件       1497  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\client\WelcomePanel.class

     文件       4307  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\server\action\BusinessAction.class

     文件       2509  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\server\dao\CardDAO.class

     文件       2628  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\server\dao\ComputerDAO.class

     文件       1966  2010-06-13 15:39  NetBarFeeManagement\bin\com\handson\netbar\server\dao\ConnectionManager.class

     文件       6152  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\server\dao\RecordDAO.class

     文件       1211  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\server\entity\Card.class

     文件        991  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\server\entity\Computer.class

     文件       1626  2010-06-13 15:40  NetBarFeeManagement\bin\com\handson\netbar\server\entity\Record.class

     文件    1835008  2010-06-13 15:53  NetBarFeeManagement\netbar_Data.MDF

     文件    3538944  2010-06-13 15:53  NetBarFeeManagement\netbar_Log.LDF

     文件     253122  2006-11-15 22:39  NetBarFeeManagement\sqljdbc.jar

     文件       1909  2010-06-13 15:39  NetBarFeeManagement\src\com\handson\netbar\client\AboutDialog.java

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

评论

共有 条评论