实例(HelloWorld.html):
<html>
<head>
<meta http-equiv="Content-Type" content ="text/html";charset="utf-8" />
<title>ExtJS</title>
<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
<script type="text/javascript" src="ext-all.js"></script>
<script type="text/javascript" src="ext-lang-zh_CN.js" charset="utf-8"></script>
<script>
Ext.onReady(function()
{
var win =new Ext.Window({title:"hello world",width:300,height:200,html:'<h1>Hello,take it easy</h1>'});
win.show();
});
</script>
</head>
<body>
</body>
</html>
显示结果: