Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Splash Screen

 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a project that has to a splash screen with a progress bar...

Any idea as to how this could be done...?

And code samples will be very helpful...
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
Use the Alert class. Yes you can add a progress bar to it . Regards.
 
Rashid Mayes
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will want to start with this article.

http://java.sun.com/developer/J2METechTips/2001/tt0820.html

You can use fillRoundRect or fillRect to draw your progress bar.


I use an image and progressbar for most of my splash screens.

http://worlddeveloper.org/files/1422/Screenshot0014.jpg
[ April 27, 2007: Message edited by: Rashid Mayes ]
 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, but i thought i could make an eye candy splash as we see in other platforms :-)

Canvas seems to be an option...
Thank Rashid...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic