swing - Is java frame completely disposed after being closed? -
i have jframe has it's setdefaultcloseoperation jframe.dispose_on_close.but problem of it's threads not closed after being disposed. if put on jframe.exit_on_close whole system exits not want. there way dispose , release it's threads , resources after closure , not have system exited?
as shown here, memory allocated host platform heavyweight peer of top-level container may not reclaimed until jvm exits. expedient solution use single top-level container. jvm may use multiple host threads in normal course of execution; profile application identify leaks. may compare live thread display thread dump, example.
Comments
Post a Comment