Splash Screen
Hello all and compliments of the season.
I've been playing around with my java as a way to enjoy this festive period however, I'm kinda stuck on some splash screen I'm working on.
I've got this class that extends JFrame and implements Runnable and it's working fine - displaying all it's supposed to display and running all that it's supposed to run - on its own.
It running on its own isn't my plan hence I've got this other class class which inherits from JFrame calling it. It displays the "threaded frame" with its title however, the contents of the frame (the panels, labels etc) are not being displayed.
Please can someone help me out with this?
Thanks.
William
Sorry for not putting up the code but you see, right now, i'm far away from my system as i'm writing from an internet cafe (and I ain't got an internet connection at home)...please bear with me.
> please bear with me.Let's wait until you're able to specifically show the problem you're having. Otherwise, it's just going to be a bunch of guesswork. Check out that tutorial posted in the meantime to see if you can glean any hints.Best of luck!
Two suggestions:1. While still in the cafe, read the link posted by yawmark, take notes, and when you come home compare it with the code you have.or2. Wait until next year(?) when Java 1.6 (6.0?) is released. It comes with a new splash screen class.
> Sorry for not putting up the code but you see, right
> now, i'm far away from my system as i'm writing from
> an internet cafe (and I ain't got an internet
> connection at home)...please bear with me.
No worries, but you will probably find that when you go to create a more simple version for posting here, that you will discover the bug... That means that you will have solved the problem yourself, and maybe even discovered something new about Java that you hadn't thought of before.
>
> It does?!? Now that is a waste of time (*goes off to
> see if the iritating JTable focus bugs have been
> fixed*)
http://download.java.net/jdk6/docs/api/java/awt/SplashScreen.html
You can try it now, if you want. Just donwload the latest Mustang build from
https://mustang.dev.java.net/