Hi jpn

It´s true! The window goes out of the scope and disappears. I´ve designed it using singleton pattern and now it works fine.

I didn´t think that the problem was that. I was thinking that a window didn´t show other window.

Thanks a lot.