📄 popedominfoshow.java
字号:
package EmpManagement;
import java.awt.*;
import javax.swing.*;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import java.awt.Font;
import java.awt.event.MouseEvent;
import java.awt.event.MouseAdapter;
import hotelinformationmanagesystem.SetFormCenter;
/**
* <p>Title: 酒店信息管理系统</p>
*
* <p>Description: The Management Information System of Hotel</p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: JSP</p>
*
* @author 江世澎
* @version 1.0
*/
public class PopedomInfoShow extends JFrame {
XYLayout xYLayout1 = new XYLayout();
JLabel jLInfo = new JLabel();
JLabel jLinfo01 = new JLabel();
JLabel jLabel1 = new JLabel();
JLabel jLabel2 = new JLabel();
JLabel jLabel3 = new JLabel();
JLabel jLabel4 = new JLabel();
public PopedomInfoShow() {
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
getContentPane().setLayout(xYLayout1);
this.setResizable(false);
this.setTitle("权限修改参考信息框");
this.setBounds(75,300,300,170);
this.addMouseListener(new PopedomInfoShow_this_mouseAdapter(this));
jLInfo.setFont(new java.awt.Font("宋体", Font.BOLD, 15));
jLInfo.setText("在修改权限时请务必参考下列信息");
xYLayout1.setWidth(287);
xYLayout1.setHeight(141);
jLinfo01.setFont(new java.awt.Font("宋体", Font.BOLD, 12));
jLabel1.setFont(new java.awt.Font("宋体", Font.BOLD, 12));
jLabel1.setText("客房部经理的权限为 2");
jLabel2.setFont(new java.awt.Font("宋体", Font.BOLD, 12));
jLabel2.setText("服务部前台接待的权限为 3");
jLabel3.setFont(new java.awt.Font("宋体", Font.BOLD, 12));
jLabel3.setText("服务部服务人员的权限为 4");
jLabel4.setFont(new java.awt.Font("宋体", Font.BOLD, 12));
jLabel4.setText("客房部服务人员的权限为 4");
this.getContentPane().add(jLInfo, new XYConstraints(24, 5, -1, -1));
this.getContentPane().add(jLinfo01, new XYConstraints(69, 34, -1, -1));
this.getContentPane().add(jLabel1, new XYConstraints(69, 57, -1, -1));
this.getContentPane().add(jLabel2, new XYConstraints(60, 77, -1, -1));
this.getContentPane().add(jLabel3, new XYConstraints(60, 96, -1, -1));
this.getContentPane().add(jLabel4, new XYConstraints(60, 117, -1, -1));
jLinfo01.setText("服务部经理的权限为 1");
}
public void this_mouseClicked(MouseEvent e) {
this.setVisible(false);
}
}
class PopedomInfoShow_this_mouseAdapter extends MouseAdapter {
private PopedomInfoShow adaptee;
PopedomInfoShow_this_mouseAdapter(PopedomInfoShow adaptee) {
this.adaptee = adaptee;
}
public void mouseClicked(MouseEvent e) {
adaptee.this_mouseClicked(e);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -