⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 framelookmainc.java

📁 数字证书注册和签发系统
💻 JAVA
字号:
package cproissue;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import javax.swing.JTextPane;
import javax.swing.JButton;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JPanel;
import javax.swing.JScrollPane;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2007</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class FrameLookMainC extends JFrame {
    XYLayout xYLayout1 = new XYLayout();
    JLabel jLabel1 = new JLabel();
    JButton jButton1 = new JButton();
    JScrollPane camess = new JScrollPane();
    JTextArea caText = new JTextArea();
    public FrameLookMainC() {
        try {
            jbInit();
        } catch (Exception exception) {
            exception.printStackTrace();
        }
    }

    private void jbInit() throws Exception {
        getContentPane().setLayout(xYLayout1);
        this.setTitle("根证书信息查看");
        jLabel1.setText("根证书信息:");
        jButton1.addActionListener(new FrameLookMainC_jButton1_actionAdapter(this));
        caText.setEditable(false);
        this.getContentPane().add(jLabel1, new XYConstraints(28, 15, -1, -1));
        this.getContentPane().add(jButton1, new XYConstraints(164, 250, 77, -1));
        this.getContentPane().add(camess,
                                  new XYConstraints(28, 39, 350, 201));
        camess.getViewport().add(caText);

        jButton1.setText("返回");
    }
//返回
    public void jButton1_actionPerformed(ActionEvent e) {
        this.dispose();
    }
}


class FrameLookMainC_jButton1_actionAdapter implements ActionListener {
    private FrameLookMainC adaptee;
    FrameLookMainC_jButton1_actionAdapter(FrameLookMainC adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.jButton1_actionPerformed(e);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -