orgil , your code doesn't follow the coding conventions and is extremely difficult to read. It's in your own interest to make the code easily readable, as that will get you more readers and quicker/better responses.
You have a typo in EXIT_ON_CL0SE. Look carefully at these two characters: O 0 -- see the difference?
Here's your code with the typo corrected and with class names and indents that conform to convention.
Joined: Aug 05, 2011
thank you awesome guys getting tiny error for me. Sorry for inconvenience of coding!