Allowed other object to acess the swingengine