📄 frameqdown.java
字号:
package cproissue;
import java.awt.*;
import javax.swing.*;
import java.awt.BorderLayout;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class FrameQDown extends JFrame {
JLabel lable1 = new JLabel();
//lable1.setVisible(false);
XYLayout xYLayout1 = new XYLayout();
JButton jButton3 = new JButton();
public FrameQDown() {
try {
jbInit();
} catch (Exception exception) {
exception.printStackTrace();
}
}
private void jbInit() throws Exception {
getContentPane().setLayout(xYLayout1);
this.setTitle("重新生成私钥");
lable1.setForeground(Color.red);
lable1.setHorizontalAlignment(SwingConstants.CENTER);
lable1.setText("私钥文件已经重新生成!");
jButton3.setText("完成");
jButton3.addActionListener(new FrameQDown_jButton3_actionAdapter(this));
this.getContentPane().add(lable1, new XYConstraints(87, 80, 210, 22));
this.getContentPane().add(jButton3, new XYConstraints(150, 166, 85, -1));
}
public void jButton3_actionPerformed(ActionEvent e) {
this.dispose();
}
}
class FrameQDown_jButton3_actionAdapter implements ActionListener {
private FrameQDown adaptee;
FrameQDown_jButton3_actionAdapter(FrameQDown adaptee) {
this.adaptee = adaptee;
}
public void actionPerformed(ActionEvent e) {
adaptee.jButton3_actionPerformed(e);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -