Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2010
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Splash screen which actually preloads the program

    Hi,

    I'm working on a Java application, and it takes a while to start up since it has a lot of stuff it loads before the GUI gets shown. I'd like to add a splash screen so that it's obvious the program is opening, but the components still get preloaded while the splash is showing.

    I guess it has something to do with threading, but I don't really understand threads. Is anyone able to help out?

    Thanks in advance!

  • #2
    Gox
    Gox is offline
    Regular Coder Gox's Avatar
    Join Date
    May 2006
    Location
    Ontario, Canada
    Posts
    392
    Thanks
    2
    Thanked 20 Times in 20 Posts
    Java 5 or 6 (can't remember which) added some handy classes to help with splash screens.

    Having not made one myself I'll point you to the documentation
    http://download.oracle.com/javase/tu...ashscreen.html
    http://download.oracle.com/javase/6/...ashScreen.html

  • Users who have thanked Gox for this post:

    jobbogamer (03-09-2011)

  • #3
    New Coder
    Join Date
    Dec 2010
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks Gox, that was really helpful.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •