"Loading..." Screen For Application?

i was wondering what component would be used for a loading screen? like when u start up limewire it has to load everything first, and so it has a loading screen that shows whats being loaded.any help would be appreciate, thnx guys :)
[247 byte] By [Alex1989a] at [2007-11-27 6:13:07]
# 1

If you man like the load screens on Netbeans and Eclipse then you would use a JFrame and setUndecorated to true. See here

http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Frame.html#setUndecorated(boolean)

I am not sure how they achieve the logging at the bottom of the panel but I would have a JLabel at the bottom and as I was working through my code I would set the text to reflect which code was being executed, when I moved to a new method or called another class as the application was starting up I would change the text to reflect that class or method.

jLabel.setText("Building GUI..")

//lots of code

....

...

jLabel.setText("Loading modules")

Message was edited by:

_helloWorld_

_helloWorld_a at 2007-7-12 17:21:10 > top of Java-index,Java Essentials,Java Programming...
# 2
> i was wondering what component would be used for a> loading screen? JFrame frame = new JFrame();frame.setUndecorated(true);
haishaia at 2007-7-12 17:21:10 > top of Java-index,Java Essentials,Java Programming...
# 3

> i was wondering what component would be used for a

> loading screen? like when u start up limewire it has

> to load everything first, and so it has a loading

> screen that shows whats being loaded.

>

> any help would be appreciate, thnx guys :)

Remember though, Netbeans, Eclipse and Limewire are quite big apps so they can offer this sort of feedback while the app is booting and they are actually do these things which take a little time. If you intend to make a small app then chances are you would see anything, it will just start up.

_helloWorld_a at 2007-7-12 17:21:10 > top of Java-index,Java Essentials,Java Programming...
# 4
http://www.google.com/search?q=%22java+se+6%22+splash+screen
sjasjaa at 2007-7-12 17:21:10 > top of Java-index,Java Essentials,Java Programming...