Renamed centering method to centerFrame().