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

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 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 года назад +2

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

  • @bsky1998
    @bsky1998 3 года назад

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

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

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

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

  • @amitanandanurag584
    @amitanandanurag584 Год назад

    very nice coding style. very much helpful

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

  • @justNoxx
    @justNoxx 2 года назад

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

  • @johnmcafee9169
    @johnmcafee9169 2 года назад +1

    thank you bro you saved my day

  • @yusupovazamjon
    @yusupovazamjon 2 года назад

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

  • @euclides981
    @euclides981 2 года назад

    Amazing... 👏

  • @MohamedReda-sv6sl
    @MohamedReda-sv6sl 3 года назад

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

    • @tookootek
      @tookootek  3 года назад

      Thank you for the kind words

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

  • @mihailocickovic3455
    @mihailocickovic3455 3 года назад

    Nice :D Great tutorial :)

  • @qusaiz1103
    @qusaiz1103 3 года назад +1

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

  • @k0.9486
    @k0.9486 2 года назад +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  2 года назад +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 2 года назад +1

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

    • @biocode5441
      @biocode5441 2 года назад +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

  • @sknafiz
    @sknafiz 10 месяцев назад

    Thank you ❤

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

  • @L0rdofIsh01
    @L0rdofIsh01 3 года назад

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

  • @farasakbar2761
    @farasakbar2761 3 года назад

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

  • @erzafixed5372
    @erzafixed5372 2 года назад +1

    bro thank u so much

  • @raniathemri949
    @raniathemri949 8 месяцев назад

    thanks man

  • @VENKATARAMANA-rj1oh
    @VENKATARAMANA-rj1oh 3 года назад +1

    s0urce code where?

  • @CodeisBoring
    @CodeisBoring 3 года назад

    thank you very much

    • @tookootek
      @tookootek  3 года назад

      You are welcome my friend

  • @bufaboymasterpiece8162
    @bufaboymasterpiece8162 Год назад

    literally saving my ass in university :DD

  • @Rakib-hasan-455
    @Rakib-hasan-455 3 года назад +4

    publish the code bro.

  • @merinfapp995
    @merinfapp995 2 года назад

    Bro pls the code

  • @djluminex2542
    @djluminex2542 Год назад

    source code

  • @rashakh5059
    @rashakh5059 3 года назад +1

    Thank you so much