@Override
		public Object getNextValue() {
			setMaximum(new Integer(tabbedPane.getComponentCount()));
			int n = getNumber().intValue();
			if (n == tabbedPane.getComponentCount()) {
				return n;
			}
				return n+1;
		}