📄 frame4.java~27~
字号:
package mis;
import javax.swing.*;
import java.awt.*;
import com.borland.jbcl.layout.*;
import java.awt.event.*;
/**
* <p>Title: Mis</p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2008</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
*/
public class Frame4 extends JFrame {
public Frame4() {
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
private void jbInit() throws Exception {
//this.getContentPane().layout(xYLayout1);
//jButton
//add to jPanel
//jPanel settting
// this.getContentPane().add(jPanel1, null);
this.setVisible(true);
this.setSize(550,550);
}
void jButton2_actionPerformed(ActionEvent e) {
this.setVisible(false);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -