📄 aboutus.java
字号:
package cliniquemanager;
import javax.swing.JFrame;
import java.awt.Rectangle;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JEditorPane;
import javax.swing.border.TitledBorder;
import java.awt.SystemColor;
import javax.swing.JButton;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.Dimension;
/**
* <p>Title: CliniqueManager</p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: shine</p>
*
* @author robin
* @version 1.0
*/
public class AboutUs extends JFrame {
public AboutUs() {
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
this.setPreferredSize(new Dimension(650, 460));
this.setSize(650,460);
this.setTitle("关于我们");
getContentPane().setLayout(null);
jlblTitle.setFont(new java.awt.Font("宋体", Font.BOLD, 20));
jlblTitle.setText("湖人诊所管理系统");
jlblTitle.setBounds(new Rectangle(251, 20, 176, 48));
jLabel1.setText("开发人员: 赵魁 全中禹 朱启凤");
jLabel1.setBounds(new Rectangle(85, 95, 276, 39));
jLabel3.setText("服务电话: 0833-2273099");
jLabel3.setBounds(new Rectangle(82, 244, 202, 41));
jLabel4.setText("电子信箱: zhuqif123@yahoo.com.cn");
jLabel4.setBounds(new Rectangle(82, 271, 209, 46));
jLabel5.setText("版权所有: Free软件开发小组");
jLabel5.setBounds(new Rectangle(87, 133, 262, 28));
jEditorPane1.setBackground(SystemColor.control);
jEditorPane1.setEnabled(false);
jEditorPane1.setBorder(titledBorder2);
jEditorPane1.setBounds(new Rectangle(38, 76, 283, 127));
jEditorPane2.setBackground(SystemColor.control);
jEditorPane2.setEnabled(false);
jEditorPane2.setBorder(titledBorder3);
jEditorPane2.setBounds(new Rectangle(40, 219, 277, 111));
jLabel2.setText("本系统是作为我们第二阶段毕业设计而开发。");
jLabel2.setBounds(new Rectangle(355, 94, 247, 40));
jLabel6.setText("系统开发总共用时20天(07.6.1--07.6.20)。");
jLabel6.setBounds(new Rectangle(356, 130, 249, 30));
jLabel7.setText("因此此系统功能比较简单,也存在很多漏洞");
jLabel7.setBounds(new Rectangle(356, 169, 239, 44));
jLabel8.setText("我们将继续改进,如果有好的意见或者建议请");
jLabel8.setBounds(new Rectangle(357, 216, 258, 36));
jEditorPane3.setBackground(SystemColor.control);
jEditorPane3.setEnabled(false);
jEditorPane3.setBorder(titledBorder1);
jEditorPane3.setBounds(new Rectangle(342, 75, 273, 254));
jLabel9.setText("联系我们!");
jLabel9.setBounds(new Rectangle(358, 260, 141, 32));
jbtnOK.addActionListener(new AboutUs_jButton1_actionAdapter(this));
this.getContentPane().add(jLabel5);
jbtnOK.setBounds(new Rectangle(254, 378, 134, 40));
jbtnOK.setText("确定");
this.getContentPane().add(jLabel1);
this.getContentPane().add(jEditorPane1);
this.getContentPane().add(jLabel7);
this.getContentPane().add(jLabel6);
this.getContentPane().add(jLabel8);
this.getContentPane().add(jLabel9);
this.getContentPane().add(jlblTitle);
this.getContentPane().add(jLabel2);
this.getContentPane().add(jEditorPane3);
this.getContentPane().add(jLabel3);
this.getContentPane().add(jLabel4);
this.getContentPane().add(jEditorPane2);
this.getContentPane().add(jbtnOK);
}
JLabel jlblTitle = new JLabel();
JLabel jLabel1 = new JLabel();
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JLabel jLabel5 = new JLabel();
JEditorPane jEditorPane1 = new JEditorPane();
JEditorPane jEditorPane2 = new JEditorPane();
TitledBorder titledBorder1 = new TitledBorder("备注:");
TitledBorder titledBorder2 = new TitledBorder("开发人员");
TitledBorder titledBorder3 = new TitledBorder("联系我们");
JButton jbtnOK = new JButton();
JLabel jLabel2 = new JLabel();
JLabel jLabel6 = new JLabel();
JLabel jLabel7 = new JLabel();
JLabel jLabel8 = new JLabel();
JEditorPane jEditorPane3 = new JEditorPane();
JLabel jLabel9 = new JLabel();
public void jbtnOK_actionPerformed(ActionEvent e) {
dispose();
}
}
class AboutUs_jButton1_actionAdapter implements ActionListener {
private AboutUs adaptee;
AboutUs_jButton1_actionAdapter(AboutUs adaptee) {
this.adaptee = adaptee;
}
public void actionPerformed(ActionEvent e) {
adaptee.jbtnOK_actionPerformed(e);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -