本文介绍第三种使用方法:html
1 //经过类的引用实例化一个类 2 var w1 = Ext.create(Ext.window.Window, {//类的引用 3 title: '窗体', 4 html:'<font color="red">测试建立窗体~~~</font>', 5 width:600, 6 height:300, 7 resizable:false, 8 modal:true 9 }); 10 w1.show();