public void saveVariable() {
		var = nameField.getText() + ";";
		if(rdbtnString.isSelected()) {
			var += "S;" + textField_1.getText();
		} else if(rdbtnInteger.isSelected()) {
			var += "I;" + spinner.getValue();
		} else if(rdbtnBoolean.isSelected()) {
			var += "B;" + chckbxTrue.isSelected();
		} else if(rdbtnFloat.isSelected()) {
			var += "F;" + spinner_1.getValue();
		}
	}