public CheckboxMenuItem getAutoSizeCheckBox() {
		if (autoSizeCheckBox == null) {
			autoSizeCheckBox = new CheckboxMenuItem("Set auto size");
			autoSizeCheckBox.addItemListener(new ItemListener() {
				public void itemStateChanged(ItemEvent e) {
					int autoSizeCheckBoxId = e.getStateChange();
					if (autoSizeCheckBoxId == ItemEvent.SELECTED) {
						trayIcon.setImageAutoSize(true);
					} else {
						trayIcon.setImageAutoSize(false);
					}
				}
			});
			autoSizeCheckBox.setState(true);
		}
		return autoSizeCheckBox;
	}