import java.util.ArrayList;

import javafx.scene.Group;
import javafx.scene.control.CheckBox;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;

public class AddNodes {

	private ArrayList<String> textArray;

	public VBox getCheckboxes(){
		
		VBox checkboxContainer = new VBox();
		
		for(int i = 0; i < 5; i++){
		 CheckBox checkbox = new CheckBox();
		 Group checkGroup = new Group();
		 
		 checkbox.setText("fasfsa");
		 
		 checkGroup.getChildren().add(checkbox);
		 
		 checkboxContainer.getChildren().add(checkGroup);
		}
		
		return checkboxContainer;
	}

	public void setArray(ArrayList <String> textArray) {
		this.textArray = textArray;
		
	}
}

@@ -192,49 +192,8 @@
 %0D%0A%0D%0A
-%09private ArrayList%3CString%3E textArray;%0D%0A%0D%0A
 %09pub
@@ -566,101 +566,5 @@
 %0D%0A%0D%0A
-%09public void setArray(ArrayList %3CString%3E textArray) %7B%0D%0A%09%09this.textArray = textArray;%0D%0A%09%09%0D%0A%09%7D%0D%0A%7D%0D%0A
+%7D

Remove unused text array