Hi. im kinda new to javaFX. im making a javaFX application using MySQL as the database. i have a function called "search()" that retrieves data. whenever i hit search() button frame freezes. i wanna run the method in a thread (like i used to do in swing) so that i can pop up a gif while data populate. anyone can help me? it's better if i can get the actual progress and set it in a progress bar. but seems its a lot work should be done. Thanks in advance! happy weekend!