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
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
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!”
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.
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 👍
Great to hear!
I like your coding style; voice is pleasant; time is not wasted on introductions or long-winded explanations; kudos !
Thanks a lot!
Saved me from a ton of frustration with implementing this with a persistent application vs my first app which was non-persistent. Thank you so much! 💖
wow, I wish you were my professor in my college when I was learning java
man, i'm so happy to meet you, thanks !!!
its great. your video series amazing . thank you so much.
just perfect! thank you, it worked
Very noice vids. This one was a little too fast…but as usual one can always pause it. Great explanations as you went along. So helpful. Ty.
Thanks for the feedback, surely noted. Glad it was helpful!
@@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
Thanks!! Your video makes easy to learn javafx and sql database
Glad it helped!
thank you bro you saved my day
You are welcome!
very nice coding style. very much helpful
Glad it was helpful!
Thank you bro this was very helpful to me I look forward to more interesting videos thank you very much👍👍👍👍
Nice :D Great tutorial :)
thanks man
Thank you so much
Thank you very much it's a fantastic video and go on and do more tutorials.
Thank you for the kind words
Amazing... 👏
Thanks a lot 😊
Thank you ❤
bro thank u so much
Happy to help
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
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.
Hello there! That is a Lambda Expression, I suggest you check it out. It will help you understand expression like b -> true
@@tookootek thanks for the reply. After coding some more, I seem to have the basics grasped.
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
thank you very much
You are welcome my friend
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!”
Thankss a lot , can you upload the source of java files pls ?? very necessary
literally saving my ass in university :DD
Awesome!
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.
publish the code bro.
how can you do this when a cell has a button in it?
s0urce code where?
Bro pls the code
source code