예제 #1
0
 private JPanel topPanel() {
   QueryPanel queryPanel =
       new QueryPanel("充值规则管理", ImageFactory.loadImage(ImageFactory.FUN_7_ICON_1));
   JPanel jp = new JPanel(new FlowLayout(FlowLayout.LEFT));
   // cardNumTF = new JLabelJTextFieldComponent("卡号:", 15);
   startTimeTF = new DataPackageComponent("发卡时间:", 15);
   timeTF = new DataPackageComponent("时间:", 15);
   queryButton = new RPJButtonBlue("查询");
   cleateButton = new RPJButtonGray("清空");
   // jp.add(cardNumTF);
   jp.add(startTimeTF);
   jp.add(timeTF);
   jp.add(queryButton);
   jp.add(cleateButton);
   queryPanel.addPanel(jp);
   return queryPanel;
 }
예제 #2
0
 private JPanel initTop() {
   QueryPanel queryPanel =
       new QueryPanel("优惠卷管理", ImageFactory.loadImage(ImageFactory.FUN_7_ICON_1));
   JPanel top_panel = new JPanel(new FlowLayout(FlowLayout.LEFT));
   tel = new JLabelJTextFieldComponent("手机:", 15);
   cardNumTF = new JLabelJTextFieldComponent("卡号:", 15);
   nameTF = new JLabelJTextFieldComponent("姓名:", 15);
   startTimeTF = new DataPackageComponent("发卡时间:", 15);
   timeTF = new DataPackageComponent("时间:", 15);
   queryButton = new RPJButtonBlue("查询");
   clearButton = new RPJButtonGray("清空");
   top_panel.add(cardNumTF);
   top_panel.add(nameTF);
   top_panel.add(tel);
   top_panel.add(startTimeTF);
   top_panel.add(timeTF);
   top_panel.add(queryButton);
   top_panel.add(clearButton);
   queryPanel.addPanel(top_panel);
   return queryPanel;
 }
예제 #3
0
  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;
  }