Hi All,
I am calling main() method of one class into other class like :
My parent class is a
java frame and i have a button in it.
While clicking on this button i am calling main() as given above.
Its calling main() successfully and opening up a new child frame of Playshow class.
But when i close this child window my parent window is also closing.
Its exiting from the application.
I am not getting why its closing the whole application.
Please if anybody has any idea help me.
Thanks and Regards,