code: public synchronized void setLogo(ImageIcon logo, boolean isCustom) {
  		if (win == null) return;
  		this.logo = new JLabel(logo);
  		Dimension dim = new Dimension(logo.getIconWidth(), logo.getIconHeight());
  		if (dim.width > 400) dim.width = 400;
  		if (dim.height > 300) dim.height = 300;
  		this.logo.setMaximumSize(dim);
  		this.logo.setMinimumSize(dim);
  		this.logo.setPreferredSize(dim);
  		this.isCustomLogo = isCustom;
  		update();
  	}
docs: Change the logo.