Removed the inheritance of JFrame to make handling Components easier