Buggy code:
@ FXML private Label streetLabel11 ; @ FXML private Text postCityText11 ; @ FXML private TextField postalTextField11 ; @ FXML private TextField cityTextField11 ; @ FXML private Label postalLabel11 ; @ FXML private Text cardNumberText11 ; @ FXML private TextField cardNumberTextField11 ; @ FXML private Label cardNumberLabel11 ; @ FXML private Text yearMonthText11 ; @ FXML private TextField yearTextField11 ; @ FXML private Text slashText11 ; @ FXML private TextField monthTextField11 ; @ FXML private Label yearLabel11 ; @ FXML private Text cvvText11 ; @ FXML private TextField cvvTextField11 ; @ FXML private Label cvvLabel11 ; @ FXML private Button saveInformationButton ; boolean monthInfo = true ; boolean yearInfo = true ; @ FXML private Label checkOutLabel1 ; @ FXML private ScrollPane listPane ; @ FXML private GridPane gridPaneProducts ; @ FXML private Label listPaneLabel ; public Integer getProductNr ( ) { } public void setProductNr ( Integer productNr ) { } public Integer getProductUnits ( ) { } public ListView < IMatShoppingItem > getCheckoutView ( ) { } public void setProductUnits ( Integer productUnits ) { } public TableView < IMatOrder > getOrderTable ( ) { } public TableView < IMatShoppingItem > getProductTable ( ) { } public ObservableList < IMatOrder > getIMatOrders ( ) { } public Label getTotalCostCartLabel ( ) { } @ Override public void initialize ( URL location , ResourceBundle resources ) { } private EventHandler < KeyEvent > keyListener = new EventHandler < KeyEvent > ( ) { @ Override public void handle ( KeyEvent event ) { } } ; public void handleOrder ( ) { } public boolean isRequiredFieldsEntered ( ) { } public void setAllUnitsToOne ( ) { } public void setEmptyCartText ( ) { } public void setMainApp ( IMat imat ) { } public Pagination getPagination ( ) { } @ SuppressWarnings ( "ConvertToTryWithResources" ) public void loadCustomerInformation ( ) { } @ SuppressWarnings ( "ConvertToTryWithResources" ) public void loadCustomerInformationPayment ( ) { } public void storeInformation ( ) { } private void setImage ( ImageView productImage , String imageName ) { } public void increment ( TextField field , Label totalCost , Product product ) { } public void incrementNew ( TextField field , Label totalCost , List < Product > product , int pos ) { } public void decrement ( TextField field , Label totalCost , Product product ) { } public void decrementNew ( TextField field , Label totalCost , List < Product > product , int pos ) { } public void makeShoppingCartVisible ( ) { } public void changeToStartPageView ( ) { } public void hideOtherPanes ( ) { } public void changeToRegisterView ( ) { } public void showOrderHistory ( ) { } public void changeToRiceView ( ) { } public void changeToMeatView ( ) { } public void changeToPastaView ( ) { } public void changeToBreadView ( ) { } public void changeToDrinkView ( ) { } public void changeToFruitView ( ) { } public void changeToFishView ( ) { } public void changeToVegetablesView ( ) { } public void changeToSpiceView ( ) { } public void changeToDairiesView ( ) { } public void changeToNutsView ( ) { } public void changeToPotatoView ( ) { } public void changeToSweetsView ( ) { } public void getOrders ( ) { } public void showIMatOrderDetails ( List < IMatShoppingItem > list ) { } public void testAccountView ( ) { } public void changeToKontoView ( ) { } public void changeToOrderHistorikView ( ) { } public void changeToCategoryView ( ) { } public void uncheck ( ) { } public void changeToPaymentView ( ) { } public void changeToFavoriteView ( ) { if ( ( IMatController . currentUser ) != null ) { } else { changeToListView ( IMatController . getIMatBackend ( ) . favorites ( ) ) ; } <START_BUG> listPaneLabel . setText ( "Favoriter" ) ; <END_BUG> if ( kontouppgifterButton . isSelected ( ) ) { kontouppgifterButton . setSelected ( false ) ; } if ( orderhistorikButton . isSelected ( ) ) { orderhistorikButton . setSelected ( false ) ; } if ( ! ( favoritvarorButton . isSelected ( ) ) ) { favoritvarorButton . setSelected ( true ) ; } } public class XCell extends ListCell < IMatShoppingItem > { HBox hbox = new HBox ( ) ; Label label1 = new Label ( "(empty)" ) ; Label label2 = new Label ( "(empty)" ) ; Label label3 = new Label ( "(empty)" ) ; Pane pane1 = new Pane ( ) ; Pane pane2 = new Pane ( ) ; Pane pane3 = new Pane ( ) ; Button plusButton = new Button ( "+" ) ; Button minusButton = new Button ( "-" ) ; Button deleteButton = new Button ( "X" ) ; String lastItem ; int index = 0 ; public XCell ( ) { } @ Override protected void updateItem ( IMatShoppingItem item , boolean empty ) { } } public void populateCheckoutCart ( ) { } public void initCheckoutCart ( List < IMatShoppingItem > cartProducts ) { } public void changeToSearchView ( String searchText ) { } public void changeToReceiptView ( ) { } public void changeToCheckoutView ( ) { } public void setCartNotVisible ( ) { } public AnchorPane getListVyPane ( ) { } public ListView < IMatShoppingItem > getCheckoutList ( ) { } private FadeTransition createFader ( Node node ) { } public void deSelect ( ) { } public void changeToPagination ( ) { } public void showPage2 ( boolean show ) { } public void populateFavorites ( List < Product > productList ) { } public void changeToListView ( List < Product > list ) { } public void populateProductList ( List < Product > productsToView ) { } public void buyMethod ( TextField field , Label label2 , List < Product > product , int pos ) { } public void favoriteMethod ( CheckBox favorite , List < Product > product , int pos ) { } }

Fix:
listPaneLabel . setText ( "Favoritvaror" ) ;