JavaFX Tutorial | Search Bar and TableView filter result as you search

Поділитися
Вставка
  • Опубліковано 21 сер 2024

КОМЕНТАРІ • 51

  • @yefrivelasquez7920
    @yefrivelasquez7920 3 роки тому +7

    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 👍

  • @biocode5441
    @biocode5441 Рік тому +2

    I like your coding style; voice is pleasant; time is not wasted on introductions or long-winded explanations; kudos !

  • @bsky1998
    @bsky1998 2 роки тому

    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! 💖

  • @Jinanonuevo
    @Jinanonuevo Рік тому

    wow, I wish you were my professor in my college when I was learning java

  • @arthurkozubov6437
    @arthurkozubov6437 3 роки тому

    man, i'm so happy to meet you, thanks !!!

  • @r.rashmiya3001
    @r.rashmiya3001 2 роки тому +1

    its great. your video series amazing . thank you so much.

  • @ruangustavoaraujodasilveir7131
    @ruangustavoaraujodasilveir7131 2 роки тому +1

    just perfect! thank you, it worked

  • @mastershonobi110
    @mastershonobi110 Рік тому

    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.

    • @tookootek
      @tookootek  Рік тому +1

      Thanks for the feedback, surely noted. Glad it was helpful!

    • @mastershonobi110
      @mastershonobi110 Рік тому

      @@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

  • @justNoxx
    @justNoxx Рік тому

    Thanks!! Your video makes easy to learn javafx and sql database

  • @johnmcafee9169
    @johnmcafee9169 Рік тому +1

    thank you bro you saved my day

  • @amitanandanurag584
    @amitanandanurag584 Рік тому

    very nice coding style. very much helpful

  • @yusupovazamjon
    @yusupovazamjon 2 роки тому

    Thank you bro this was very helpful to me I look forward to more interesting videos thank you very much👍👍👍👍

  • @mihailocickovic3455
    @mihailocickovic3455 2 роки тому

    Nice :D Great tutorial :)

  • @raniathemri949
    @raniathemri949 3 місяці тому

    thanks man

  • @rashakh5059
    @rashakh5059 2 роки тому +1

    Thank you so much

  • @MohamedReda-sv6sl
    @MohamedReda-sv6sl 2 роки тому

    Thank you very much it's a fantastic video and go on and do more tutorials.

    • @tookootek
      @tookootek  2 роки тому

      Thank you for the kind words

  • @euclides981
    @euclides981 Рік тому

    Amazing... 👏

  • @sknafiz
    @sknafiz 4 місяці тому

    Thank you ❤

  • @erzafixed5372
    @erzafixed5372 2 роки тому +1

    bro thank u so much

  • @ecossefreres5690
    @ecossefreres5690 2 роки тому +1

    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

  • @k0.9486
    @k0.9486 Рік тому +2

    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.

    • @tookootek
      @tookootek  Рік тому +1

      Hello there! That is a Lambda Expression, I suggest you check it out. It will help you understand expression like b -> true

    • @k0.9486
      @k0.9486 Рік тому +1

      @@tookootek thanks for the reply. After coding some more, I seem to have the basics grasped.

    • @biocode5441
      @biocode5441 Рік тому +1

      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

  • @CodeisBoring
    @CodeisBoring 3 роки тому

    thank you very much

    • @tookootek
      @tookootek  3 роки тому

      You are welcome my friend

  • @mastershonobi110
    @mastershonobi110 Рік тому +1

    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? 😂

    • @mastershonobi110
      @mastershonobi110 Рік тому +1

      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!”

  • @qusaiz1103
    @qusaiz1103 2 роки тому +1

    Thankss a lot , can you upload the source of java files pls ?? very necessary

  • @bufaboymasterpiece8162
    @bufaboymasterpiece8162 Рік тому

    literally saving my ass in university :DD

  • @farasakbar2761
    @farasakbar2761 2 роки тому

    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 :(

  • @jagotiberan2181
    @jagotiberan2181 3 роки тому

    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

    • @jagotiberan2181
      @jagotiberan2181 3 роки тому

      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

    • @tookootek
      @tookootek  3 роки тому +1

      @@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.

  • @Rakib-hasan-455
    @Rakib-hasan-455 2 роки тому +4

    publish the code bro.

  • @L0rdofIsh01
    @L0rdofIsh01 2 роки тому

    how can you do this when a cell has a button in it?

  • @VENKATARAMANA-rj1oh
    @VENKATARAMANA-rj1oh 2 роки тому +1

    s0urce code where?

  • @merinfapp995
    @merinfapp995 2 роки тому

    Bro pls the code

  • @djluminex2542
    @djluminex2542 11 місяців тому

    source code