import se.datadosen.util.*;

JComboBox getPrintingComboBox() {
	JComboBox printing = new JComboBox(new Object[] {
	 new Item("mypix", "mypix.se (Europe)"),
	 new Item("shutterfly", "shutterfly.com (USA)"),
	 new Item("none", "Do not add printing links"),
	});
//	printing.setSelectedIndex(1);
	return printing;
}

void showPrintingWarnings() {
	if (!printing.equals("none") && !engine.getImageLinking().equals("LinkScaled") && (!rootOutputDirectory.equals(rootImageDirectory) && !engine.isCopyOriginals())) {
		JOptionPane.showMessageDialog(window,
		"Links to on-line printing service cannot be added.\nMake sure original images are included in the final album.", 
		"Linking to printing service", 
		JOptionPane.WARNING_MESSAGE);
	}
	else if (!printing.equals("none") && !engine.getImageLinking().equals("LinkScaled")) {
		JOptionPane.showMessageDialog(window,
		"When publishing album. Remember to also upload original images,\notherwise the on-line printing integration will be broken.", 
		"Linking to printing service", 
		JOptionPane.WARNING_MESSAGE);

	}
}
