This discussion is archived
2 Replies Latest reply: Mar 4, 2013 12:14 PM by jsmith RSS

How to use Preloader with stand-alone application in Eclipse? Thank you.

SlashWang Newbie
Currently Being Moderated
My IDE is eclipse and my project is a stand-alone application(pure CS architecture with OSGI framework).

How to use Preloader thus the preloader would be started before my main Application and hid later?

I found some code in

but I still don't know how to deploy the Preloader with my startup Application in OSGI framework.
I give some code of my startup application below:
public class MyPrjMain extends Application
    private static Stage primaryStage;
     public void start(final Stage stage)
        throws BusinessException
        primaryStage = stage;
Thanks very much, everybody.

Edited by: Slash Wang on 2013-2-27 下午5:36


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