⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 childfrm.java~19~

📁 库存管理信息系统
💻 JAVA~19~
字号:
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;  //Construct the frame  public ChildFrm() {    super("child1",true,true,true,true);    enableEvents(AWTEvent.WINDOW_EVENT_MASK);    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  //Component initialization  private void jbInit() throws Exception  {    contentPane = (JPanel) this.getContentPane();    contentPane.setLayout(xYLayout1);    this.setLocation(200,200) ;    this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);    this.setFrameIcon(null);    this.setGlassPane(contentPane);    this.setResizable(true);    this.setTitle("child");    this.setAlignmentX((float) 100.0);    this.setAlignmentY((float) 100.0);    this.setPreferredSize(new Dimension(350,350));    jPanel1.setBorder(BorderFactory.createEtchedBorder());    jPanel1.setDebugGraphicsOptions(0);    jPanel1.setLayout(xYLayout2);    contentPane.add(jPanel1, new XYConstraints(28, 45, 131, 204));    jPanel1.add(jTree1,   new XYConstraints(1, 0, 124, 199));  }  //Overridden so we can exit when window is closed  protected void processWindowEvent(WindowEvent e) {    if (e.getID() == WindowEvent.WINDOW_CLOSING) {      System.exit(0);    }  }  XYLayout xYLayout1 = new XYLayout();  JPanel jPanel1 = new JPanel();  JTree jTree1 = new JTree();  XYLayout xYLayout2 = new XYLayout();}

⌨️ 快捷键说明

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