📄 softmessage.java
字号:
package car;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
import javax.swing.*;
import java.awt.*;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import javax.swing.border.Border;
import javax.swing.border.EtchedBorder;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class SoftMessage extends JFrame {
public SoftMessage() {
try {
jbInit();
} catch (Exception ex) {
ex.printStackTrace();
}
}
// public static void main(String[] args) {
// SoftMessage softmessage = new SoftMessage();
// }
private void jbInit() throws Exception {
this.getContentPane().setLayout(xYLayout1);
jPanel1.setBackground(Color.white);
jPanel1.setBorder(border1);
jPanel1.setLayout(xYLayout2);
jLabel3.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel3.setBorder(border3);
jLabel3.setText(" 开发日期:");
jLabel4.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel4.setBorder(BorderFactory.createEtchedBorder());
jLabel4.setText(" 2007 / 4/ 10");
jLabel5.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel5.setBorder(border4);
jLabel5.setText(" 开发人员:");
jLabel6.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel6.setBorder(BorderFactory.createEtchedBorder());
jLabel6.setText(" 李晓丽");
jLabel7.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel7.setBorder(border4);
jLabel7.setText(" 联系方式:");
jLabel8.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel8.setBorder(BorderFactory.createEtchedBorder());
jLabel8.setText(" lixiaoli_lxl@163.com");
jPanel2.setBorder(border5);
jPanel2.setLayout(xYLayout3);
jLabel9.setFont(new java.awt.Font("楷体_GB2312", Font.BOLD, 30));
jLabel9.setText(" 曙光工作室");
jButton1.setBackground(Color.white);
jButton1.setFont(new java.awt.Font("Dialog", Font.PLAIN, 15));
jButton1.setToolTipText("返 回");
jButton1.addActionListener(new SoftMessage_jButton1_actionAdapter(this));
xYLayout1.setWidth(612);
this.setTitle("沈阳志远出租汽车公司出租车信息管理系统--软件信息窗口");
jLabel10.setText("");
this.getContentPane().add(jPanel1, new XYConstraints(23, 19, 193, 250));
jPanel1.add(jLabel10, new XYConstraints(1, 3, 188, 241));
this.getContentPane().add(jLabel2, new XYConstraints(308, 19, 282, 34));
this.getContentPane().add(jLabel1, new XYConstraints(224, 19, -1, 33));
this.getContentPane().add(jPanel2, new XYConstraints(226, 214, 362, 55));
jPanel2.add(jLabel9, new XYConstraints(43, 8, 274, -1));
this.getContentPane().add(jLabel8, new XYConstraints(309, 167, 280, 34));
this.getContentPane().add(jLabel6, new XYConstraints(308, 117, 280, 34));
this.getContentPane().add(jLabel3, new XYConstraints(224, 66, -1, 34));
this.getContentPane().add(jLabel4, new XYConstraints(308, 66, 281, 34));
this.getContentPane().add(jLabel5, new XYConstraints(224, 116, -1, 34));
this.getContentPane().add(jLabel7, new XYConstraints(225, 167, -1, 34));
this.getContentPane().add(jButton1, new XYConstraints(259, 312, 114, 62));
jLabel2.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel2.setBorder(border2);
jLabel2.setText(" 沈阳志远出租汽车公司出租车信息管理系统");
xYLayout1.setHeight(406);
jLabel1.setFont(new java.awt.Font("Dialog", Font.PLAIN, 14));
jLabel1.setBorder(border3);
jLabel1.setText(" 软件名称:");
this.setVisible(true) ;
this.setLocation(170, 50);
this.setSize(616,438) ;
}
JPanel jPanel1 = new JPanel();
XYLayout xYLayout1 = new XYLayout();
XYLayout xYLayout2 = new XYLayout();
Border border1 = BorderFactory.createEtchedBorder(Color.white,
new Color(165, 163, 151));
JLabel jLabel1 = new JLabel();
Border border2 = BorderFactory.createEtchedBorder(Color.white,
new Color(165, 163, 151));
JLabel jLabel2 = new JLabel();
Border border3 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
Color.white, new Color(165, 163, 151));
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
JLabel jLabel5 = new JLabel();
JLabel jLabel6 = new JLabel();
Border border4 = BorderFactory.createEtchedBorder(EtchedBorder.RAISED,
Color.white, new Color(165, 163, 151));
JLabel jLabel7 = new JLabel();
JLabel jLabel8 = new JLabel();
JPanel jPanel2 = new JPanel();
Border border5 = BorderFactory.createEtchedBorder(Color.white,
new Color(165, 163, 151));
XYLayout xYLayout3 = new XYLayout();
JLabel jLabel9 = new JLabel();
JButton jButton1 = new JButton(new ImageIcon("image\\3.gif"));
JLabel jLabel10 = new JLabel(new ImageIcon("image\\message .gif") );
public void jButton1_actionPerformed(ActionEvent e) {
this.dispose();
}
}
class SoftMessage_jButton1_actionAdapter implements ActionListener {
private SoftMessage adaptee;
SoftMessage_jButton1_actionAdapter(SoftMessage adaptee) {
this.adaptee = adaptee;
}
public void actionPerformed(ActionEvent e) {
adaptee.jButton1_actionPerformed(e);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -