📄 gridbaglayout.java~4~
字号:
package chapter7.layout;
import java.awt.*;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
import javax.swing.JButton;
public class GridBagLayout
extends Frame
{
public GridBagLayout()
{
try
{
jbInit();
}
catch (Exception exception)
{
exception.printStackTrace();
}
}
private void jbInit()
throws Exception
{
this.setLayout(gridBagLayout1);
}
public static void main(String[] args)
{
GridBagLayout gridbaglayout = new GridBagLayout();
}
java.awt.GridBagLayout gridBagLayout1 = new GridBagLayout();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -