public void i() {
		currentProgress++;
		if(currentProgress < finalProgress) {
		bar.setValue((int)((currentProgress/finalProgress)*100));
		} else {
			bar.setValue(100);
			frame.setVisible(false);
		}
	}