3 * Copyright(c) 2006-2010 Ext JS, LLC
5 * http://www.extjs.com/license
7 Ext.onReady(function(){
\r
9 var button = Ext.get('show-btn');
\r
11 button.on('click', function(){
\r
12 // create the window on the first click and reuse on subsequent clicks
\r
14 win = new Ext.Window({
\r
15 applyTo:'hello-win',
\r
22 items: new Ext.TabPanel({
\r
23 applyTo: 'hello-tabs',
\r
26 deferredRender:false,
\r
35 handler: function(){
\r