This discussion is archived
3 Replies Latest reply: Jan 21, 2013 8:59 PM by Narayan RSS

Changing the look of the javaFX JNLP loading

983001 Newbie
Currently Being Moderated
How can the loading screen be changed in a JavaFX application that is running through JNLP?
  • 1. Re: Changing the look of the javaFX JNLP loading
    shakir.gusaroff Expert
    Currently Being Moderated
    Hi. You can customize the default preloader using a CSS stylesheet or
    you can use a custom preloader:
    http://docs.oracle.com/javafx/2/deployment/preloaders.htm#BABCDIHD
  • 2. Re: Changing the look of the javaFX JNLP loading
    jsmith Guru
    Currently Being Moderated
    If you are using WebStart to deploy your application, see the Java Tutorial on changing the WebStart splash screen from the default Java logo to an application specific logo (try the demo link in the tutorial a couple of times):
    https://blogs.oracle.com/thejavatutorials/entry/changing_the_java_web_start

    The WebStart splash screen stuff is a kind of weird setup in that:
    When you first launch it with Java Web Start technology, the default Java cup logo splash screen displays on your screen before the application appears on your
    desktop. When you launch the application a second time, the image for the file mysplash.jpg will display before the ButtonDemo application appears on your desktop.
    I also found in testing it a year ago that the splash screen setting didn't work for JavaFX applications, but it may have since been fixed.

    This is all independent of the preloading stuff which Shakir previously linked and you might also want to use.
  • 3. Re: Changing the look of the javaFX JNLP loading
    Narayan Pro
    Currently Being Moderated
    Hi alexbb,

    If you want to make customized Preloader in javafx then this post might be helpful as well. Fancy Preloader


    Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points