• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to load a logo image at the begining of the program?

 
Pier Klein
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just like MS Word,
before you come to the workspace of Word,
there is one license information image...
How can I do the same thing in Java?
Thanks! :roll:
 
Jason Steele
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm thinking that what you mean is the splash screen. If in fact, that is what you are referring to, then you can easily create your own splash screen by using the Swing component JWindow. JWindow does not contain a titlebar or border so it is perfect for custom splash screens. You can add buttons and text and images to your liking.

Good Luck!
 
Pier Klein
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the comment!
It seems reasonable to have a try.
BTW,
Do you know where I can get some sample codes for JWindow with the similar functionality?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Shining Star" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

You can find source code for splash screens in Java here, here, or just do a Google search for "Java splash screen"... you can find tons of examples...

Thanks! and welcome to the JavaRanch!
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://filenabber.com/free-java-classes/
Free, open source Java splash screen.
Brian
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!