/** * Adds the project icon to the dock. * * @throws Exception if any error occurs. */ private void addDockIcon() throws Exception { invoke("setDockIconImage", Image.class, BaseXLayout.image("logo")); }