📄 rangebeanframe.java~4~
字号:
package chapter8;
import java.awt.*;
import javax.swing.*;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;
public class RangeBeanFrame
extends JFrame
{
FlowLayout flowLayout1 = new FlowLayout();
RangeBean rangeBean = new RangeBean();
public RangeBeanFrame()
{
try
{
jbInit();
}
catch (Exception exception)
{
exception.printStackTrace();
}
}
private void jbInit()
throws Exception
{
getContentPane().setLayout(flowLayout1); rangeBean.setFromBgColor(Color.
yellow); rangeBean.setToBgColor(UIManager.getColor("info"));
getContentPane().add(rangeBean);
}
public static void main(String[] args)
{
RangeBeanFrame rangebeanframe = new RangeBeanFrame();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -