Instant search Javafx

// ————————–Filter function and// code——————————————————————————- FilteredList filterList = new FilteredList<>(dataSolicitari, p -> true); SortedList sortableData; int idStringTemp;String SolictareTemp;String umTemp;String ManoperaTemp;String statusTemp; public void initFilter() { // —- filter by id ———– text1.textProperty().addListener((obsVal, oldValue, newValue) -> { filterList.setPredicate(SolicitariModel -> { idStringTemp = SolicitariModel.getId();SolictareTemp = SolicitariModel.getDenumire();umTemp = SolicitariModel.getUm();ManoperaTemp = String.valueOf(SolicitariModel.getManopera());statusTemp = String.valueOf(SolicitariModel.isInactiv() ? 1 : 0); if …

Instant search Javafx Read More »