I didnM-^Rt like to show a splashscreen with a normal window behaviour (borders, buttons etc.).
So I played a little to make a splash screen in Java. In fact this was not much fun because there are some good examples floating around on the internet.
Second I had to implement this as a plugin. This was a little harder to do. But, with the help of Johan to show me how to M-^QchainM-^R this window to a Servoy solution I got it going.
So here it is my Splash plugin. You can implement it like:
- Code: Select all
plugins.it2be_splash.show(M-^Simage/foo.jpgM-^T, 5, true)
M-^Simage/foo.jpgM-^T = image path string (window resizes to the image Size);
5 = the number of seconds before the screen disappears;
true = allow the user to click the screen away;
The result is attached. Just drop it in your plugins folder and restart Servoy.
Feel free to use it and distribute it but give me credit for it.
The plugin is free, provided M-^Qas isM-^R and I can not take any responsibility for the way it behaves or works.
This plugin gives the taste for more and could be much more. If you have any suggestions or questions please contact me...
Cheers