[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Splash screen customization with Swing
- From: "Alex Blewitt" <alex.blewitt@xxxxxxxxx>
- Date: Thu, 10 May 2007 08:55:24 +0100
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DA6QL6RnA02ieUUZ4+vfuAVF+e0QphF3A3+BBC0R/ZMfqiXFqMMWX5ZrO5+fW6eRX3wn9DHDcjnT+NxHgJOHcKIUSuIcjz1sq1DZWNqQrexzRwR1TelwZWnJJArrS/Yof2BEfjXzgiuQM6xqlg1N/R6Dar6woYwKDZhbnquaSMQ=
I doubt that you'd do it directly, as there would be no way of passing
the native handle to the Swing libraries. You might have some success
if you create an SWT shell and then add inside an SWT_AWT bridge,
followed by your swing components.
The SWT newsgroup would probably be a good place to ask too, if you
On 10/05/07, Steven E. Harris <seh@xxxxxxxxx> wrote:
I noticed that the Equinox launcher can create an "early" splash
screen using a BMP-formatted image, and it sets a property --
org.eclipse.equinox.launcher.splash.handle -- to the integer value of
the window handle (I'm guessing) created by the native code reached
There's an example in the incubator CVS repository at demos/splash/
org.eclipse.equinox.examples.splash that shows how to acquire this
window handle and use it to create an SWT Shell, presumably redrawing
over the "early" splash screen with something custom and dynamic.
Is it possible to do anything with a window handle like this with
Swing? I have an existing splash screen written with Swing and I'm
wondering if there's some way to tie it together with the "early"
splash screen capability in the launcher.
Steven E. Harris
equinox-dev mailing list