add: if (this.hasState(qx.ui.window.Window.STATE_MAXIMIZED)) { return; }  
context: qx.Proto._maximize = function(){  // store current dimension and location  this._previousLeft = this.getLeft();  this._previousWidth = this.getWidth();  this._previousRight = this.getRight();  this._previousTop = this.getTop();  this._previousHeight = this.getHeight();  this._previousBottom = this.getBottom();  // setup new dimension and location  this.setWidth(null);  this.setLeft(0);  this.setRight(0);  this.setHeight(null);  this.setTop(0);  this.setBottom(0);  // update state  this.addState(qx.ui.window.Window.STATE_MAXIMIZED);  // toggle button  if (this.getShowMaximize())  {    var cb = this._captionBar;    var v = cb.indexOf(this._maximizeButton);    cb.remove(this._maximizeButton);    cb.addAt(this._restoreButton, v);  }  // finally focus the window  this.focus();}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/ae00479ddabcd44e1b969782606078d2a92f11b3/Window.js/buggy/qooxdoo/frontend/framework/source/class/qx/ui/window/Window.js