Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / May 2007

Tip: Looking for answers? Try searching our database.

How to attach a splash screen in my app.

Thread view: 
stacey - 07 May 2007 19:24 GMT
Hello everyone,

I have 2 separate programs. One is my application and the other is the
splash screen application. My problem is how to connect these two.
I am not so keen on java yet, and i ve been a bit confused, i was
wondering if you could help me.
I have to call the main method of the splash screen in my
application's method right? I just dont know how. I tried inserting a
thread, but i think i am missing sth.

My apps main is

   public static void main(String args[]) {

       java.awt.EventQueue.invokeLater(new Runnable() {
           public void run() {
               new Myprogie().setVisible(true);
           }
       });
   }

Because time is a bit pressing, i didnt have enough time to make my
own splash screen,  so I took the splash screen implementation from
this site: http://www.devdaily.com/java/edu/SplashScreen/SplashScreenMain.java
http://www.devdaily.com/java/edu/SplashScreen/SplashScreen.java

So, can you help me? I want to connect these two programs.  I want to
initialize my application while the splash screen is running and when
its ready, the splash screen should finish, and my application should
be visible.

Thank you very much in advance,

Stacey
Andrew Thompson - 08 May 2007 01:01 GMT
...
>splash screen ...
...
>So, can you help me?

There are options for adding splash screens to web start
applications and applets (without code).  

Java 6 also offers a ‘Jar splash’ that might be useful (ditto).  
For more details on that, start here..
<http://java.sun.com/docs/books/tutorial/uiswing/misc/splashscreen.html>

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Andrew Thompson - 08 May 2007 01:03 GMT
...
>splash screen ...
...
>So, can you help me?

There are options for adding splash screens to web start
applications and applets (without code).  

Java 6 also offers a ‘Jar splash’ that might be useful (ditto).  
For more details on that, start here..
<http://java.sun.com/docs/books/tutorial/uiswing/misc/splashscreen.html>

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Andrew Thompson - 08 May 2007 01:04 GMT
...
>There are options ...

My apologies for the repost.

Signature

Andrew Thompson
http://www.athompson.info/andrew/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.