I used the setProperty () method with Swing applications, but it doesn't seem to work with FX applications, are there any other ways to customize the application name from the source code?
Bad news for you. You cannot change it. Here is a link to JIRA where you can go and add your frustration to it has not yet been fixed.
https://javafx-jira.kenai.com/browse/RT-22988