public void init() {
    JPanel main_jp = new BorderJPanel();
    BoxLayout boxLayout = new BoxLayout(main_jp, BoxLayout.Y_AXIS);
    main_jp.setLayout(boxLayout);
    main_jp.setBackground(Util.PANEL_COLOR);

    number = new JLabelJTextFieldComponent("  *", "仓库编号:", 30);
    name = new JLabelJTextFieldComponent("  *", "仓库名称:", 30);
    location = new JLabelJTextFieldComponent("  *", "仓库地址:", 30);
    manager = new JLabelJComboBoxComponent("*", "仓库管理员:", new String[] {}, 188);
    manager.addElement(new IDNameBean("0", "请选择"));
    priority = new JLabelJTextFieldComponent("*", "仓库优先级:", "(数字越大,越在前面)", 15);
    note = new JLabelJTextAreaComponent("    备    注:", 23, 3);

    number.getText().setText(UUID.GenUUID15());
    number.getText().setEditable(false);
    priority.getText().setText("0");

    main_jp.add(number);
    main_jp.add(name);
    main_jp.add(location);
    main_jp.add(manager);
    main_jp.add(priority);
    main_jp.add(note);

    JPanel p1 = new JPanel();
    sureButton = new RPJButtonWhite("保存(Ctrl+S)");
    cancelButton = new RPJButtonWhite("取消(Ctrl+Q)");
    p1.add(sureButton);
    p1.add(cancelButton);
    p1.setOpaque(false);
    main_jp.add(p1);
    this.add(main_jp);
    main_jp.setCursor(Util.CURSOR_DEFAULT);
  }
 @Override
 public void run() {
   System.out.println("bbbb");
   try {
     List<TStore> list = tStoreService.findService(null);
     storeId.getModel().removeAllElements();
     storeId.addElement(new JComboBoxPOJO("请选择……"));
     if (list != null && list.size() != 0) {
       int length = list.size();
       for (int i = 0; i < length; ++i) {
         TStore tStore = list.get(i);
         storeId.addElement(
             new JComboBoxPOJO(tStore.getStoreID(), tStore.getStoreID(), tStore));
       }
     }
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
 @Override
 public void run() {
   try {
     List<TEmployee> list = tEmployeeService.findService(null);
     if (list != null && list.size() != 0) {
       for (int i = 0; i < list.size(); i++) {
         TEmployee emp = list.get(i);
         manager.addElement(new IDNameBean(emp.getEmployeeID(), emp.getName()));
         if (tStore != null) {
           if (emp.getEmployeeID().equals(tStore.getManager())) {
             manager.getBox().setSelectedIndex(i + 1);
           }
         }
       }
     }
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
  private JPanel initTop() {
    QueryPanel queryPanel =
        new QueryPanel("物品领用", ImageFactory.loadImage(ImageFactory.FUN_5_ICON_3));
    JPanel top_panel = new JPanel(new FlowLayout(FlowLayout.LEFT));
    orderID = new JLabelJTextFieldComponent("领用单号:", 20);
    employee = new JLabelJTextFieldComponent("领用人:", 20);
    startTime = new DataPackageComponent("开始时间", 188);
    endTime = new DataPackageComponent("结束时间", 188);
    queryButton = new RPJButtonBlue("查询");
    clearButton = new RPJButtonGray("清空");

    storeId = new JLabelJComboBoxComponent("仓库编号", new String[] {}, 188);
    storeId.addElement(new JComboBoxPOJO("请选择……"));
    top_panel.add(storeId);
    top_panel.add(orderID);
    top_panel.add(employee);
    top_panel.add(startTime);
    top_panel.add(endTime);
    top_panel.add(queryButton);
    top_panel.add(clearButton);
    queryPanel.addPanel(top_panel);
    //		queryPanel.addBoxPanel(top_panel);
    return queryPanel;
  }