title: Label as a Custom Button in JavaFX? (By using FXML)
body: <p>I have a FXML document containing the visual basis of my JavaFX project and I want to make an own Topbar (where the X, minumum/maximum, etc... is) by using a Pane. But my program will have multiply pages (scenes) and to keep the code clean, I wanted to make the Custom-Topbar as a separate class (an component object kinda). I just don't know how I should implement this class into the FXML basis I use (I am using Scene Builder).</p>