📄 dialog8.java~15~
字号:
package ct;import java.awt.*;import javax.swing.*;import com.borland.jbcl.layout.*;import java.awt.event.*;import javax.swing.border.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Dialog8 extends JDialog { JPanel panel1 = new JPanel(); BorderLayout borderLayout1 = new BorderLayout(); JPanel jPanel1 = new JPanel(); XYLayout xYLayout1 = new XYLayout(); JLabel jLabel1 = new JLabel(); JLabel jLabel2 = new JLabel(); JLabel jLabel3 = new JLabel(); JLabel jLabel4 = new JLabel(); JLabel jLabel5 = new JLabel(); JLabel jLabel6 = new JLabel(); JLabel jLabel7 = new JLabel(); JLabel jLabel9 = new JLabel(); JLabel jLabel10 = new JLabel(); JLabel jLabel11 = new JLabel(); JLabel jLabel12 = new JLabel(); JLabel jLabel13 = new JLabel(); JLabel jLabel14 = new JLabel(); JLabel jLabel8 = new JLabel(); JLabel jLabel15 = new JLabel(); JLabel jLabel16 = new JLabel(); JLabel jLabel17 = new JLabel(); JButton jButton1 = new JButton(); Border border1; public Dialog8(Frame frame, String title, boolean modal) { super(frame, title, modal); try { jbInit(); pack(); } catch(Exception ex) { ex.printStackTrace(); } } public Dialog8() { this(null, "", false); } private void jbInit() throws Exception { border1 = new EtchedBorder(EtchedBorder.RAISED,new Color(44, 82, 255),new Color(21, 40, 128)); panel1.setLayout(borderLayout1); jPanel1.setLayout(xYLayout1); jLabel1.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel1.setText("负责人:"); jLabel2.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel2.setText("郭英杰"); jLabel3.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel3.setText("游戏架构师:"); jLabel4.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel4.setText("陈鑫鑫"); jLabel5.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel5.setText("策划设计人员:"); jLabel7.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel7.setText("徐尚哲"); jLabel9.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel9.setText("焦云鹤"); jLabel10.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel10.setText("田恩来"); jLabel11.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel11.setText("程序员:"); jLabel12.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel12.setText("赵一树"); jLabel13.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel13.setText("游戏测试:"); jLabel14.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel14.setForeground(Color.black); jLabel14.setText("张今哲"); jLabel6.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel6.setText("美工设计组编:"); jLabel8.setText("市场营销:"); jLabel8.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel8.setText("市场营销:"); jLabel15.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel15.setText("动画设计:"); jLabel16.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel16.setOpaque(false); jLabel16.setText("李有为"); jLabel17.setFont(new java.awt.Font("Dialog", 0, 15)); jLabel17.setForeground(Color.magenta); jLabel17.setText("YY工作室感谢大家的鼎立支持"); jButton1.setBackground(new Color(31, 58, 184)); jButton1.setFont(new java.awt.Font("Dialog", 0, 15)); jButton1.setForeground(Color.orange); jButton1.setBorder(border1); jButton1.setText("返回"); jButton1.addActionListener(new Dialog8_jButton1_actionAdapter(this)); panel1.setBackground(new Color(31, 58, 184)); jPanel1.setBackground(new Color(31, 58, 184)); getContentPane().add(panel1); panel1.add(jPanel1, BorderLayout.WEST); jPanel1.add(jLabel1, new XYConstraints(112, 123, 65, 31)); jPanel1.add(jLabel2, new XYConstraints(190, 123, 64, 33)); jPanel1.add(jLabel3, new XYConstraints(6, 158, 91, 32)); jPanel1.add(jLabel5, new XYConstraints(167, 155, 107, 36)); jPanel1.add(jLabel10, new XYConstraints(285, 156, 66, 33)); jPanel1.add(jLabel4, new XYConstraints(96, 156, 62, 35)); jPanel1.add(jLabel7, new XYConstraints(123, 188, 58, 30)); jPanel1.add(jLabel6, new XYConstraints(5, 188, 114, 30)); jPanel1.add(jLabel8, new XYConstraints(185, 188, 81, 32)); jPanel1.add(jLabel9, new XYConstraints(278, 187, 66, 35)); jPanel1.add(jLabel11, new XYConstraints(6, 218, 78, 36)); jPanel1.add(jLabel12, new XYConstraints(66, 219, 77, 34)); jPanel1.add(jLabel13, new XYConstraints(186, 218, 83, 30)); jPanel1.add(jLabel14, new XYConstraints(278, 215, 82, 34)); jPanel1.add(jLabel15, new XYConstraints(7, 256, 83, 33)); jPanel1.add(jLabel16, new XYConstraints(89, 254, 76, 38)); jPanel1.add(jLabel17, new XYConstraints(79, 22, 315, 62)); jPanel1.add(jButton1, new XYConstraints(171, 261, 70, 32)); } void jButton1_actionPerformed(ActionEvent e) { Frame1 D=new Frame1(); D.setLocation(160,60); D.setEnabled(true);//D.show(false); D.show(true); Dialog8 F=new Dialog8(); F.setLocation(360,170); F.show(false); this.dispose(); }}class Dialog8_jButton1_actionAdapter implements java.awt.event.ActionListener { Dialog8 adaptee; Dialog8_jButton1_actionAdapter(Dialog8 adaptee) { this.adaptee = adaptee; } public void actionPerformed(ActionEvent e) { adaptee.jButton1_actionPerformed(e); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -