made GraphicalUserInterface a JFrame