# \[New\] Splash plugin v2

**URL:** <https://forum.servoy.com/t/new-splash-plugin-v2/3678>\
**Category:** Classic Servoy\
**Created:** [February 14, 2005, 11:46am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678 "2005-02-14T11:46:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [February 14, 2005, 11:46am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/1 "2005-02-14T11:46:32Z")

</div>

Version 2 of my plugin now gives you the ability to hide the splash via a method, make the solution window full screen and if you like, to hide the menubar and the taskbar/dock…

For the full story see [www.servoymagazine.com](http://www.servoymagazine.com) or go to my site and download it ([www.it2be.com](http://www.it2be.com)).

Cheers,

marcel

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [February 14, 2005, 12:10pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/2 "2005-02-14T12:10:29Z")

</div>

Hello Marcel,

greatjob! Especially hiding the menu bar is useful. You only have forgotten to make plugins.it2be\_splash.setMenuBarVisible(); visible in the plugin. It does work, but it doesn’t show up under the available functions…

Thanks for sharing!

Patrick

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [February 14, 2005, 12:24pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/3 "2005-02-14T12:24:42Z")

</div>

![:-)]( "Smile") That’s on purpose since it doesn’t work on the mac yet. It’s also not documented. Didnt’ expect any smartass ![:-)]( "Smile") to look into the jar though…

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [February 14, 2005, 12:33pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/4 "2005-02-14T12:33:49Z")

</div>

That wasn’t necessary… You expose it in your sample code.

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [February 17, 2005, 10:59am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/5 "2005-02-17T10:59:47Z")

</div>

Hi Marcel,

Where to download the plugin?

Thanks  
Hameed

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [February 17, 2005, 11:01am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/6 "2005-02-17T11:01:03Z")

</div>

> … and download it ([www.it2be.com](http://www.it2be.com)).

so go to [www.it2be.com](http://www.it2be.com) and find it there…

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [February 17, 2005, 11:08am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/7 "2005-02-17T11:08:42Z")

</div>

Ok Thanks for that indicating that. Over looked.

But now I am getting when I download the  
[http://www.it2be.nl/plugins/Splash.zip](http://www.it2be.nl/plugins/Splash.zip)

Can you check pls…

Network Error (tcp\_error)

A communication error occurred: “Operation timed out”  
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

For assistance, contact your network support team.

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [February 17, 2005, 11:38am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/8 "2005-02-17T11:38:36Z")

</div>

Got it now Thanks.

One very little issue I got when I was testing. If you showed the splash twice before the first one closes, then the splash never close until I restart the servoy.

Cheers

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [February 17, 2005, 12:13pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/9 "2005-02-17T12:13:26Z")

</div>

Thanks marcel.

The hide() function is very useful.

I can now show the splash whenever I am going start a lengthy process where the progression plugin is not involved and close the splash at the end of the script.

Cheers and thanks.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [February 18, 2005, 9:59am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/10 "2005-02-18T09:59:20Z")

</div>

Thanks for the compliment,

I can’t image the splash to never ‘close’ unless you set the time length too long. What I can imagine is that the hide only works for one splash.

I did put the splash in a seperate threath, that’s the reason Servoy keeps on running, however I haven’t rebuilt the plugin so that you can run more than one splash at a time. Didn’t see the purpose for that and it would have taken me too much time right now…

Cheers

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [February 18, 2005, 10:45am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/11 "2005-02-18T10:45:01Z")

</div>

There is no purpose for showing more than one splash at a time. For someone else there may be some purpose for that.

The have solved the problem by calling hide() method not caring whether a splash is open or not before doing a show method.

Also after showing the splash in a long running script, I have to call application.UpdateUI() to make it actually appear on the screen.

Thanks for your nice work.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [February 18, 2005, 2:40pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/12 "2005-02-18T14:40:06Z")

</div>

Hello Marcel,

if I simply move your sample code for plugins.it2be\_splash.showText I get an error, stating that the method could not be found.

Am I doing something wrong or is there a problem in the current build?

Thanks!  
Patrick

---

<div class="post-metadata">

**Author:** ![Karel\_Broer](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Karel\_Broer](https://forum.servoy.com/u/Karel_Broer)\
**Post date:** [April 27, 2005, 4:40pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/13 "2005-04-27T16:40:53Z")

</div>

Hi Marcel,

Nice job: this Splash plugin! Really like it!  
One question: I noticed with the ‘show’ method that you can insert an image AND text. Is that text ABOVE the image or is it also possible to have text ON the image?

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [April 27, 2005, 7:32pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/14 "2005-04-27T19:32:02Z")

</div>

If (and only if ![:)]( "Smile") ) I did the samples the correct way you should be able to find how to put text on top of the image.

Clarification: I do just that. I make an image that defines the size of the splash and put the text over the iamge…

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [April 27, 2005, 7:45pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/15 "2005-04-27T19:45:10Z")

</div>

This is how I do it:

```auto
	var message = "<HTML><HEAD><\/HEAD><BODY>";
	message += "<TABLE BORDER='0' CELLPADDING='5' CELLSPACING='0' WIDTH='465'><TR><TD COLSPAN='5' align='left' valign='bottom'><font face='verdana' size='3'>

<b>";
	message += i18n.getI18NMessage('2.version') + " 2.1r" + application.getSolutionRelease() + " ©IT2Be 2003 - 2005
";
	message += "Registered to: " + plugins.it2be_support.customLicenseCompanyName;
	message += "</b><\/TD><\/TR>";
	message += "<\/TABLE>";
	message += "<\/BODY></HTML>";
	
	plugins.it2be_splash.show("media:///Splash.gif", message, 1, 1, 25, true, 1);

```

---

<div class="post-metadata">

**Author:** ![Karel\_Broer](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Karel\_Broer](https://forum.servoy.com/u/Karel_Broer)\
**Post date:** [April 27, 2005, 8:17pm UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/16 "2005-04-27T20:17:35Z")

</div>

Awesome! That’s the way, it’s just perfect! Thanks again, Marcel!  
Get ready for ‘het IJ’ ! ![:wink:]( "Wink")

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [May 16, 2005, 9:37am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/17 "2005-05-16T09:37:28Z")

</div>

Hi Marcel,

Can I show an animated gif inside a splash? would that work?

Thanks

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [May 16, 2005, 11:15am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/18 "2005-05-16T11:15:07Z")

</div>

Maybe, maybe not. For me it didn’t work. It made the splash hang. It looks like java/servoy has a problem with an animated gif anyways.

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [May 16, 2005, 11:44am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/19 "2005-05-16T11:44:24Z")

</div>

Ok. Thanks for letting me know that. I thought it would help show an animation during a long running process.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [May 16, 2005, 11:47am UTC](https://forum.servoy.com/t/new-splash-plugin-v2/3678/20 "2005-05-16T11:47:01Z")

</div>

It is the exact same thing I wanted to do. Although the process is running in a seperate thread however anything you do behind the splash will take too much of the processor to really update the splash. Will investigate it some time…
