undid all my code pertaining to JFrame