//get the text from the input field and write it to the port data file public void clickPortUpdateButton() { dm.writeWholePortFile(portData.text); }