You can maximize all the open windows in one application by clicking the green button at the top-left while holding the Option key.