📄 childfrm.java~24~
字号:
package KcglSys;import java.awt.*;import java.awt.event.*;import javax.swing.*;import com.borland.jbcl.layout.*;/** * <p>Title: 库存管理信息系统</p> * <p>Description: 库存管理信息系统,企业好帮手</p> * <p>Copyright: Copyright (c) 2004</p> * <p>Company: ios</p> * @author dragon * @version 1.0 */public class ChildFrm extends JInternalFrame { JPanel contentPane; static int FrameNo=1; static final int xOffset=40,yOffset=40; //Construct the frame public ChildFrm() { super("child1"+(++FrameNo),true,true,true,true); setLocation(xOffset*FrameNo,yOffset*FrameNo); this.setBounds(50,80,100,100) ; try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } //Component initialization private void jbInit() throws Exception { contentPane = (JPanel) this.getContentPane(); contentPane.setLayout(xYLayout1); this.setPreferredSize(new Dimension(350,350)); } XYLayout xYLayout1 = new XYLayout();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -