code: private void readFields() {
  		plain.setText(tf1.getText());
  		mandatory.setText(tf2.getText());
  		readOnly.setText(tf3.getText());
  		disabled.setText(tf4.getText());
  		width.setText(tf5.getText());
  	}
docs: Read fields is a simple method to read all the fields and populate the encoded text fields.