• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java gui with splashscreen  RSS feed

 
dan Ranity
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i got this code but i am not sure why its not working. All iam trying to do is make a splash screen(image) appear for 3 seconds and then dissapear. Anyone know how 2 do this?

What i got so far:


 
Paul Clapham
Sheriff
Posts: 22509
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a reason you can't just put the name of the splash-screen image on the command line using the "-splash" option? Since that option was implemented (Java 6, back in 2006) you only need to write your own code if you don't like the way the command-line feature works.
 
dan Ranity
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:Is there a reason you can't just put the name of the splash-screen image on the command line using the "-splash" option? Since that option was implemented (Java 6, back in 2006) you only need to write your own code if you don't like the way the command-line feature works.


I dont understand can you please show me an example?
 
Paul Clapham
Sheriff
Posts: 22509
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. Have a look at the Oracle tutorial: How to Create a Splash Screen and scroll down to the section headed "How to Use the Command-Line Argument to Display a Splash Screen".
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!