It works great. Thanks to Dan. as you could see, i am using your sniplet, i hope its free licenced;) But .center() works fine on me, the only difference is that i am using a Desktop Object to add the Window. By the way, how to kill the instance from the memory? regards Mustafa
________________________________ Von: Dan [mailto:redalas...@gmail.com] Gesendet: Sa 17.01.2009 21:15 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Singleton Class getInstance failes The problem is with the keyword new in: this.appSale = new radial.Sale.getInstance(); Just remove that keyword (getInstance takes care of creating the object if it does not exists) and the problem will be solved. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
<<winmail.dat>>
------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel