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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -