Codename One : Adding the splash screen

You may also like...

3 Responses

  1. wassim says:

    ou on met la ressource image ?

    • Amal says:

      if you copy paste or drag the image in your project it will be automatically placed under the and you can set it with .setBgImage(Image.createImage(“/myImg.png”))

      Or you can create a new package, name it resources for example and place all your images there, u’ll change the path then to : .setBgImage(Image.createImage(“/resources/myImg.png”))

  2. mohamed says:

    WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
    ERROR: the start method can’t declare a throws clause

Leave a Reply

Your email address will not be published. Required fields are marked *