import se.datadosen.util.*;

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

void showPrintingWarnings() {
	if (window == null) return; // Be silent in console mode
	
	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);

	}
}
