childfrm.java~25~

来自「这个信息系统是和仓库管理有关的」· JAVA~25~ 代码 · 共 42 行

JAVA~25~
42
字号
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  {    this.setBackground(Color.black ) ;    contentPane = (JPanel) this.getContentPane();    contentPane.setLayout(xYLayout1);    this.setPreferredSize(new Dimension(350,350));  }  XYLayout xYLayout1 = new XYLayout();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?