ArtsAchievement.java~2~
资源名称:Java.rar [点击查看]
上传用户:liming9091
上传日期:2014-10-27
资源大小:3376k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package infomanagement;
- import java.awt.*;
- import javax.swing.*;
- import com.borland.jbcl.layout.*;
- /**
- * <p>Title: </p>
- * <p>Description: </p>
- * <p>Copyright: Copyright (c) 2003</p>
- * <p>Company: </p>
- * @author unascribed
- * @version 1.0
- */
- public class ArtsAchievement extends JDialog {
- private JPanel jPanel1 = new JPanel();
- private XYLayout xYLayout1 = new XYLayout();
- private JLabel jLabel1 = new JLabel();
- private JLabel jLabel2 = new JLabel();
- public ArtsAchievement(Frame frame, String title, boolean modal) {
- super(frame, title, modal);
- try {
- jbInit();
- pack();
- }
- catch(Exception ex) {
- ex.printStackTrace();
- }
- }
- public ArtsAchievement() {
- this(null, "", false);
- }
- private void jbInit() throws Exception {
- jPanel1.setLayout(xYLayout1);
- jLabel1.setBorder(BorderFactory.createEtchedBorder());
- jLabel1.setText("jLabel1");
- jLabel2.setBorder(BorderFactory.createEtchedBorder());
- jLabel2.setText("jLabel2");
- this.getContentPane().add(jPanel1, BorderLayout.CENTER);
- jPanel1.add(jLabel1, new XYConstraints(1, 0, 399, 57));
- jPanel1.add(jLabel2, new XYConstraints(0, 59, 400, 70));
- }
- }