release JFrame resources
resolving merge