public ModpackFileSelectionPanel(WizardController controller,Map wizardData,File gameDir,BiFunction<String,Boolean,Integer> blackList){
  initComponents();
  this.controller=controller;
  this.wizardData=wizardData;
  this.blackList=blackList;
  CheckBoxTreeNode root=create(gameDir,"minecraft");
  jTree1.setModel(new DefaultTreeModel(root));
  jTree1.setCellRenderer(new CheckBoxTreeCellRenderer());
  jTree1.addMouseListener(new CheckBoxTreeNodeSelectionListener());
  wizardData.put("blackList",root);
}

public ModpackFileSelectionPanel ( WizardController controller , Map wizardData , File gameDir , BiFunction < String , Boolean , Integer > blackList ) { initComponents ( ) ; this . controller = controller ; this . wizardData = wizardData ; this . blackList = blackList ; CheckBoxTreeNode root = create ( gameDir , "minecraft" ) ; jTree1 . setModel ( new DefaultTreeModel ( root ) ) ; jTree1 . setCellRenderer ( new CheckBoxTreeCellRenderer ( ) ) ; jTree1 . addMouseListener ( new CheckBoxTreeNodeSelectionListener ( ) ) ; wizardData . put ( "blackList" , root ) ; }
creates new form modpackfileselectionpanel
