public int print(Graphics g, PageFormat fmt, int index) {
		if(index > 0) return Printable.NO_SUCH_PAGE;
		int n = jcb.getSelectedIndex();
		try { return pg.getPrintable(n).print(g, fmt, n); } 
		catch(Exception ex) {}
		return Printable.PAGE_EXISTS;
		}