资源简介
很好很强大大家相互学习学习。好不好大家看一看
代码片段和文件信息
package com.sunshine.about;
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import com.sunshine.sunsdk.swing.*;
import com.sunshine.sunsdk.system.*;
public class About
extends JDialog
implements ActionListener {
JLabel top li fee tit ver user co boss temp;
JPanel pm info i1 i2 bott bp;
JButton bt1;
/**=======================================================================**
* [## public About (Jframe frame) {} ]: 构造函数
* 参数 :Jframe对象是对话框的父窗口
* 返回值 :无
* 修饰符 :public
* 功能 :组建关于窗口
**=======================================================================**
*/
public About (Jframe frame) {
super (frame “关于我们“ true);
top = new JLabel (new ImageIcon(“pic/about.gif“));
li = new JLabel (new ImageIcon(“pic/line1.gif“));
fee = new JLabel (“技术支持: Shgy0853@yahoo.com.cn
版权所有 (C) 2009 黔南名族师范学院“);
tit = new JLabel (“ 欢 迎 使 用 阳 光 酒 店 管 理 系 统“);
ver = new JLabel (“版本: 2009 Bate1 “);
user= new JLabel (“软件用户: “ + sunini.getIniKey(“UserName“));
co = new JLabel (“ 所属学校: 黔南名族师范学院“ );
boss= new JLabel (“ 阳光设计组 沈广勇、莫义玖 “);
temp= new JLabel (“ “);
bt1 = new TJButton (“pic/choose.gif“ “确 定“ ““);
pm = new JPanel (new BorderLayout ());
info = new JPanel (new GridLayout (4 1 0 0));
bott = new JPanel (new BorderLayout ());
i1 = new JPanel ();
i2 = new JPanel (new FlowLayout (FlowLayout.RIGHT));
bp = new JPanel (new FlowLayout (FlowLayout.RIGHT 10 8));
//制作信息面板
i1.add (user);
i1.add (co);
i2.add (ver);
info.add (tit);
info.add (i2);
info.add (i1);
info.add (boss);
//制作下边组件
bp.add (bt1);
bott.add (“North“ li);
bott.add (“West“ temp);
bott.add (“East“ bp);
bott.add (“Center“ fee);
//制作主面板
pm.add (“North“ top);
pm.add (“South“ bott);
pm.add (“Center“ info);
bt1.addActionListener (this);
this.setContentPane (pm);
this.setResizable (false);
pack();
sunswing.setWindowCenter(this);
}
/**=======================================================================**
* ActionListener 监听
**=======================================================================**
*/
public void actionPerformed (ActionEvent ae) {
this.setVisible (false);
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 384 2009-05-15 14:11 SunHotel\.project
文件 316 2009-05-15 14:11 SunHotel\.classpath
文件 472 2009-05-16 11:08 SunHotel\Config.ini
文件 449 2009-04-01 19:41 SunHotel\Login$1.class
文件 7430 2009-04-01 19:41 SunHotel\Login.class
文件 266 2009-03-30 13:28 SunHotel\Readme.txt
文件 26 2009-04-01 19:56 SunHotel\Run.bat
文件 898 2006-04-19 15:10 SunHotel\日志说明.txt
文件 2097152 2006-04-28 03:50 SunHotel\数据库备份\sunhotel.ldf
文件 2097152 2006-04-28 03:50 SunHotel\数据库备份\sunhotel.mdf
文件 12411 2009-04-27 19:28 SunHotel\pic\about.gif
文件 255 2006-04-26 11:31 SunHotel\pic\add.gif
文件 255 2006-04-26 11:32 SunHotel\pic\add1.gif
文件 255 2006-04-26 11:32 SunHotel\pic\add2.gif
文件 1048 2006-04-19 17:21 SunHotel\pic\b1.gif
文件 590 2006-04-19 17:20 SunHotel\pic\b2.gif
文件 1065 2006-04-08 20:58 SunHotel\pic\book.gif
文件 1070 2006-04-09 04:46 SunHotel\pic\browse.gif
文件 341 2006-04-21 03:38 SunHotel\pic\cancel.gif
文件 580 2006-04-07 01:34 SunHotel\pic\choose.gif
文件 550 2006-04-17 09:15 SunHotel\pic\choose1.gif
文件 1326 2006-04-17 10:05 SunHotel\pic\clock.gif
文件 560 2006-04-07 01:35 SunHotel\pic\del.gif
文件 188 2006-04-04 16:06 SunHotel\pic\exit.gif
文件 1050 2006-04-05 01:24 SunHotel\pic\find.gif
文件 1836 2006-04-30 00:51 SunHotel\pic\init.gif
文件 636 2006-04-04 22:29 SunHotel\pic\key.gif
文件 256 2006-04-26 11:29 SunHotel\pic\left.gif
文件 256 2006-04-26 11:30 SunHotel\pic\left1.gif
文件 256 2006-04-26 11:30 SunHotel\pic\left2.gif
............此处省略338个文件信息
评论
共有 条评论