The init() Method The job of the init() method is to create and show the SaveAsDialog instance so that it can be tested:
Read Complete Article