This makes a search bar much more responsive and makes any application that little bit better - Easy to follow and understand. Keep up the great videos 👍
@@tookootek I’m using your vids as my “standards” for JavaFx usage. I have started from the very first one to understand what’s needed, iron out any SDK errors etc..and get comfortable with “Scene Builder!” Ty
I am having trouble Starting the main as you do around 5:00 , it loads a tons of errors in intelijj starting with "Exception in Application start method" .AFter 2 days of research i'm thinking it's coming from the fxmlloader part in the main (as he dont find the path to my files. I haven't done the module-info.java tho bc when i do it just dosnt load with an error as doesn't file the module(in your cas name ProductFinder). I hope you could help me.Paul
Hey, I’m getting an error message, “ JavaFx PropertyValueFactory is not able to retrieve property. I have looked to see if there was any misspelling, improper mismatch of Class assignment (String, Date, Integer, etc). Reviewed the fax:I’d assigned etc. no luck. Any thoughts? 😂
Problem solved; the getter needed to look just like the name of the column. Meaning “PMDueDate” and NOT “pmDueDate” as it was in fields for the “ProductSearchModel” Class…JESUS… Be careful with your “Getters” they could give you the above “Error Message,” “Just A Thought!”
What is the b -> true in the filteredlist? I've not been able to find documentation, and while it's working I just simply don't understand what's going on. It might be useful to know I'm not great at Java, just learning now from Python. If anyone knows the details here, I'd greatly appreciate it.
what it does is set the items as initially visible; it loads the items from the database, then applies the predicate (which is a decision function of whether the item will be filtered or not) in order to populate the filtered list; a true predicate means the item gets passed into the filtered lost, whereas a false predicate means the item won't be added to the filtered list. So again, `b -> true` initially adds all items from the database list of results into the filtered list of results (which actually hets displayed); so essentially, initially there is no filtering being done (and all elements are displayed). Actually reducing the number of items ("filtering") happens in the function pointer that the author does after the filter list
when I tried to run, there's an error "java: excepted" on line 28 controller.java file(private TableColumn, BigInteger; npwpTableColumn;). pls help to solve this :(
followed exactly; when I type toString() in my if statement (like the one you typed at 16:46), it is red and says cannot resolve method "toString()". Can you help with this? I am using IntelliJ and using Javafx 11
btw, i have a model called Part, and getID method which returns an int id from that Part. So the if statement reads: (part.getId().toString().indexOf(searchText) > -1) and follows your statement exactly. Not sure what is wrong
@@jagotiberan2181 hey there bro! How I wish I can go through your code but we just do what we can do. Try this alternative (String.valueOf(productSearchModel.getModelYear()).indexOf(searchKeyword) > -1) This should work the same way, whenever toString is not available.