everything done apart from the last JFrame