public void selectNew() {
		textField.setVisible(true);
		lblTitle.setVisible(true);
		if (booster.getActiveControl() instanceof PWindow) {
			PWindow pw = (PWindow) booster.getActiveControl();
			textField.setText(pw.getText());
			lblTitle.setText("Window title:");
			textField_1.setText(pw.getWidth()+"");
			textField_2.setText(pw.getHeight()+"");
		}
		if (booster.getActiveControl() instanceof PText) {
			PText pw = (PText) booster.getActiveControl();
			textField.setText(pw.getText());
			lblTitle.setText("Text value:");
			textField_1.setText(pw.getWidth()+"");
			textField_2.setText(pw.getHeight()+"");
		}
		if (booster.getActiveControl() instanceof PButton) {
			PButton pw = (PButton) booster.getActiveControl();
			textField.setText(pw.getText());
			lblTitle.setText("Button text:");
			textField_1.setText(pw.getWidth()+"");
			textField_2.setText(pw.getHeight()+"");
		}
		if (booster.getActiveControl() instanceof PProgress) {
			PProgress pw = (PProgress) booster.getActiveControl();
			textField.setText(pw.getProgress() + "");
			lblTitle.setText("Progress amount:");
			textField_1.setText(pw.getWidth()+"");
			textField_2.setText(pw.getHeight()+"");
		}
		if (booster.getActiveControl() instanceof PFrame) {
			PFrame f = (PFrame)booster.getActiveControl();
			textField.setVisible(false);
			lblTitle.setVisible(false);
			textField_1.setText(f.getWidth()+"");
			textField_2.setText(f.getHeight()+"");
		}
	}