package pro.simpleproject.core.entry;

import javafx.fxml.FXMLLoader;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.Pane;

public class EntryPaneBuilder {

	private static Pane pane;

	public static Pane get() {
		if (pane == null) {
			pane = build();
		}
		return pane;
	}

	private static Pane build() {
		try {
			FlowPane pane = (FlowPane) FXMLLoader.load(EntryPaneBuilder.class.getResource("entry.fxml"));
			return pane;
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}

}

@@ -248,23 +248,16 @@
 l) %7B%0A%09%09%09
-pane = 
 build();
@@ -296,20 +296,20 @@
  static 
-Pane
+void
  build()
@@ -327,33 +327,25 @@
 %09%09%09F
-lowPane pane = (FlowPane)
+XMLLoader f = new
  FXM
@@ -355,13 +355,8 @@
 ader
-.load
 (Ent
@@ -406,27 +406,42 @@
 %22));%0A%09%09%09
-return pane
+pane = (FlowPane) f.load()
 ;%0A%09%09%7D ca
@@ -492,23 +492,8 @@
 %09%09%7D%0A
-%09%09return null;%0A
 %09%7D%0A%0A

Update EntryPaneBuilder.java