的等待

来源:互联网 发布:form表单提交到js 编辑:程序博客网 时间:2024/06/09 15:53

16:49:07
  <commpents>
   
   <commpent>
      <name>btn_OK</name>
      <text>确定</text>
      <width>50</width>
      <height>20</height>
      <x>200</x>
      <y>200</y>
      <icon>e:/xxx.ico</icon>
      <type>text</type>
   </commpent>

</commpents>


    if(type.equals("button")){
    Button btn_OK = new Button("确定");
    btn_OK.setPosition(x,y);
    btn_OK.setSize(50,20);
    MyForm myForm = new MyForm();
    myForm.add(btn_OK);
    }else{
      Text btn_OK = new Text("确定");
    }

原创粉丝点击