📄 hellopanel.java~19~
字号:
package management;import java.awt.*;import javax.swing.*;import com.borland.jbcl.layout.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2004</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class helloPanel extends JPanel { JLabel jLabel1 = new JLabel(); JLabel jLabel2 = new JLabel(); JLabel jLabel3 = new JLabel(); JLabel jLabel4 = new JLabel(); JLabel jLabel5 = new JLabel(); JLabel jLabel7 = new JLabel(); JLabel jLabel9 = new JLabel(); GridBagLayout gridBagLayout1 = new GridBagLayout(); public helloPanel() { try { jbInit(); } catch(Exception ex) { ex.printStackTrace(); } } void jbInit() throws Exception { jLabel1.setFont(new java.awt.Font("Dialog", 1, 28)); jLabel1.setForeground(Color.blue); jLabel1.setText("欢迎光临学生成绩管理系统"); this.setLayout(gridBagLayout1); jLabel2.setFont(new java.awt.Font("Dialog", 1, 23)); jLabel2.setText("计5信息技术中心"); jLabel4.setFont(new java.awt.Font("Dialog", 1, 22)); jLabel4.setForeground(SystemColor.menuText); jLabel4.setText("版 本 号 : "); jLabel3.setEnabled(true); jLabel3.setFont(new java.awt.Font("Dialog", 3, 17)); jLabel3.setText(" 向忠陶,梁杰,谢英伟,徐文庆"); jLabel5.setFont(new java.awt.Font("Dialog", 1, 22)); jLabel5.setText("开发人员: "); jLabel7.setFont(new java.awt.Font("Dialog", 1, 22)); jLabel7.setText("1.0"); jLabel9.setText("版 权:"); jLabel9.setFont(new java.awt.Font("Dialog", 1, 22)); this.add(jLabel4, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(14, 17, 39, 0), 29, 2)); this.add(jLabel5, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(13, 17, 7, 0), 26, 9)); this.add(jLabel3, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(9, 0, 0, 0), 85, 26)); this.add(jLabel2, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 24, 0, 139), 0, 26)); this.add(jLabel7, new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(11, 68, 39, 68), 177, 6)); this.add(jLabel9, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0 ,GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(18, 17, 10, 28), 9, -2)); this.add(jLabel1, new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0 ,GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(51, 64, 0, 70), 11, 4)); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -