Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Native splash screen?
Native splash screen? [message #445725] Wed, 10 November 2004 04:58 Go to next message
Eclipse UserFriend
Originally posted by: williams.russell.williamsr.net

Folks,

I am wondering how eclipse splash screen work?
I think it is a native splash screen. Is there an article or readme file
about this?

Thanx

William
Re: Native splash screen? [message #445743 is a reply to message #445725] Wed, 10 November 2004 14:40 Go to previous messageGo to next message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
> I think it is a native splash screen
Yes. It's in the platform-launcher project.
http://dev.eclipse.org/viewcvs/index.cgi/platform-launcher/l ibrary/

Chris
Re: Native splash screen? [message #446162 is a reply to message #445725] Thu, 18 November 2004 09:29 Go to previous messageGo to next message
Andre Weinand is currently offline Andre WeinandFriend
Messages: 66
Registered: July 2009
Member
On 10.11.2004 5:58 Uhr, in article cms6qp$edv$1@eclipse.org, "williams"
<williams.russell@williamsr.net> wrote:

> Folks,
>
> I am wondering how eclipse splash screen work?
> I think it is a native splash screen.

Yes.

> Is there an article or readme file
> about this?

No, I don't think so.
But IIRC it works as follows:

The Eclipse launcher "eclipse.exe" is used to display the splash screen (in
addition to its normal duties of launching the JVM).

The tricky thing about the splash screen is that eclipse.exe does not know
what image to show as a Splash screen, since this image is contributed via
some higher-level Eclipse/Java mechanism.

To circumvent this problem eclipse.exe passes itself as an argument to the
Eclipse Java program. Then the splash image is determined (in Java land) and
the executable "eclipse.exe" is used to display the image. After Eclipse has
finished its startup sequence the second instance of eclipse.exe is killed.

So this results in the following hierarchical process structure:

eclipse.exe
/usr/bin/java -cp startup.jar EclipseMain -splash "eclipse.exe"
eclipse.exe "some splash screen image"

Hth,
--andre
Re: Native splash screen? [message #446877 is a reply to message #446162] Sat, 04 December 2004 15:21 Go to previous messageGo to next message
Ben Clarke is currently offline Ben ClarkeFriend
Messages: 11
Registered: July 2009
Junior Member
> eclipse.exe
> /usr/bin/java -cp startup.jar EclipseMain -splash "eclipse.exe"
> eclipse.exe "some splash screen image"

Stick to one operating system per example
Re: Native splash screen? [message #446957 is a reply to message #446877] Tue, 07 December 2004 11:09 Go to previous message
Andre Weinand is currently offline Andre WeinandFriend
Messages: 66
Registered: July 2009
Member
On 4.12.2004 16:21 Uhr, in article cosklu$hcj$1@www.eclipse.org, "Ben
Clarke" <rod.parfait@gmail.com> wrote:

>> eclipse.exe
>> /usr/bin/java -cp startup.jar EclipseMain -splash "eclipse.exe"
>> eclipse.exe "some splash screen image"
>
> Stick to one operating system per example

Try to abstract
Previous Topic:Distributing as an Executable JAR File
Next Topic:[POCKET PC - WM2003SE]Strange j9 behaviour
Goto Forum:
  


Current Time: Tue Oct 20 01:06:39 GMT 2020

Powered by FUDForum. Page generated in 0.02644 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top