rem: }; 
add: } 
context: qx.Proto._createNativeWindowDemo = function() {  var main = new qx.ui.layout.VerticalBoxLayout;  main.setPadding(10);  main.set({ width:"auto", height:"auto", spacing:5 });  var win = new qx.client.NativeWindow("http://www.google.com");  win.setDimension(600, 400);  var openBt = new qx.ui.form.Button("Open Native Window", "icons/16/wizard.png");  openBt.addEventListener("click", function() { win.open(); } );  main.add(openBt);  // Initial Settings  var fs1 = new qx.ui.groupbox.GroupBox("Initial Settings");  fs1.set({ width:250, height:"auto" });  main.add(fs1);  var vert = new qx.ui.layout.VerticalBoxLayout;  vert.set({ width:"auto", height:"auto" });  fs1.add(vert);  var chk1 = new qx.ui.form.CheckBox("Resizeable");  chk1.setChecked(true);  chk1.addEventListener("changeChecked", function(e) {    win.setResizeable(e.getData());  });  var chk2 = new qx.ui.form.CheckBox("Show Statusbar");  chk2.setChecked(false);  chk2.addEventListener("changeChecked", function(e) {    win.setShowStatusbar(e.getData());  });  var chk3 = new qx.ui.form.CheckBox("Show Menubar");  chk3.setChecked(false);  chk3.addEventListener("changeChecked", function(e) {    win.setShowMenubar(e.getData());  });  var chk4 = new qx.ui.form.CheckBox("Show Location");  chk4.setChecked(false);  chk4.addEventListener("changeChecked", function(e) {    win.setShowLocation(e.getData());  });  var chk5 = new qx.ui.form.CheckBox("Show Toolbar");  chk5.setChecked(false);  chk5.addEventListener("changeChecked", function(e) {    win.setShowToolbar(e.getData());  });  var chk6 = new qx.ui.form.CheckBox("Allow Scrollbars");  chk6.setChecked(true);  chk6.addEventListener("changeChecked", function(e) {    win.setAllowScrollbars(e.getData());  });    var chk7 = new qx.ui.form.CheckBox("Modal");  chk7.setChecked(false);  chk7.addEventListener("changeChecked", function(e) {     win.setModal(e.getData());   });      var chk8 = new qx.ui.form.CheckBox("Dependent");  chk8.setChecked(true);  chk8.addEventListener("changeChecked", function(e) {     win.setDependent(e.getData());   });     vert.add(chk1, chk2, chk3, chk4, chk5, chk6, chk7, chk8);  // Runtime Settings  var fs2 = new qx.ui.groupbox.GroupBox("Runtime Settings");  fs2.set({ width:250, height:"auto" });  main.add(fs2);  var vert = new qx.ui.layout.VerticalBoxLayout;  vert.set({ width:"auto", height:"auto", spacing:2 });  fs2.add(vert);  var tf1 = new qx.ui.form.TextField("http://www.google.com");  tf1.setWidth(150);  var setUrlBt = new qx.ui.form.Button("Set Url", "icons/16/ok.png");  setUrlBt.addEventListener("click", function() {     win.setUrl(tf1.getValue());   });  var hor = new qx.ui.layout.HorizontalBoxLayout;  hor.set({ width:"auto", height:"auto", spacing:5,    verticalChildrenAlign:"middle", marginBottom:10 });  vert.add(hor);  hor.add(tf1, setUrlBt);  var tf2 = new qx.ui.form.TextField("600");  tf2.setWidth(50);  var btn2 = new qx.ui.form.Button("Set Width", "icons/16/ok.png");  btn2.addEventListener("click", function() {     win.setWidth(parseInt(tf2.getValue()));   });  var hor = new qx.ui.layout.HorizontalBoxLayout;  hor.set({ width:"auto", height:"auto", spacing:5,    verticalChildrenAlign:"middle" });  vert.add(hor);  hor.add(tf2, btn2);  var tf3 = new qx.ui.form.TextField("400");  tf3.setWidth(50);  var btn3 = new qx.ui.form.Button("Set Height", "icons/16/ok.png");  btn3.addEventListener("click", function() {     win.setHeight(parseInt(tf3.getValue()));   });  var hor = new qx.ui.layout.HorizontalBoxLayout;  hor.set({ width:"auto", height:"auto", spacing:5,    verticalChildrenAlign:"middle", marginBottom:10 });  vert.add(hor);  hor.add(tf3, btn3);  var btn4 = new qx.ui.form.Button("Center to screen", "icons/16/display.png");  btn4.setWidth("100%");  btn4.addEventListener("click", function() {     win.centerToScreen()   });  var btn5 = new qx.ui.form.Button("Center to screen area", "icons/16/display.png");  btn5.setWidth("100%");  btn5.addEventListener("click", function() {     win.centerToScreenArea()   });  var btn6 = new qx.ui.form.Button("Center to opener", "icons/16/display.png");  btn6.setWidth("100%");  btn6.addEventListener("click", function() {     win.centerToOpener()   });  vert.add(btn4, btn5, btn6);  return main;};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/AllInOneDemo.js/clean/qooxdoo/source/demo/allinone/AllInOneDemo.js