()
| 161 | |
| 162 | // TODO Move the loaders to code, to improve performance! |
| 163 | private TextField loadTopTextField() { |
| 164 | Object loadedPreset = FXMLResourceUtil.loadPreset(Resource.TOPTEXTFIELD_FXML); // load top textfield preset from fxml file |
| 165 | if (loadedPreset != null && loadedPreset instanceof TextField) { |
| 166 | return (TextField) loadedPreset; |
| 167 | } |
| 168 | return new TextField(); |
| 169 | } |
| 170 | |
| 171 | public void createCenterField() { |
| 172 | Label centerLabel = new Label(); |