java GridBag 布局

  

 

 panelBasic.add(this.lbsysEMS,new GridBagConstraints(0, 9, 1, 1, 0.0, 0.0, GridBagConstraints.EAST,GridBagConstraints.NONE,
                                              new Insets(2, 2, 2, 2), 0, 0));        /////   lihc
       
        panelBasic.add(this.tfsysEMS,new GridBagConstraints(1, 9, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,
                                              new Insets(2, 2, 2, 2), 0, 0));


        panelBasic.add(this.lbLeaseDate,new GridBagConstraints(2, 9, 1, 1, 0.0, 0.0, GridBagConstraints.EAST,GridBagConstraints.NONE,
                                              new Insets(2, 2, 2, 2), 0, 0));

 

        panelBasic.add(this.ftLeaseDate,new GridBagConstraints(3, 9, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER,GridBagConstraints.HORIZONTAL,
                                              new Insets(2, 2, 2, 2), 0, 0));

你可能感兴趣的:(java)