Splash Plugin and 2.2.1 final

I have just tried using IT2BE’s splash plugin with the newly released 2.2.1 final and the showURL function does not seem to work. I moved the sample code into a global method and when run, I get the following error:

java.lang.Error: Do not use javax.swing.JWindow.add() use javax.swing.JWindow.getContentPane().add() instead

Wondering if I am doing something wrong. Thanks.

Windows XP SP2
Java 1.4.2
Servoy 2.2.1 build 333

Reed

I am not sure, might be something else. I will upload new plugins tomorrow so you can test them. They work fine over here but then again, I have the latest version :)

Hmm, that’s no fun! I wanted to help you right away although it is way beyond bedtime due to the release of the fax plugin but I can’t right now.

The plugin worked fine under rc3 but indeed 2.1 broke.

I solved the issue. It was a bit of lazy coding on my side. But now something else is broken and I don’t know why yet! Will look into this tomorrow and I will get back to you asap!

I found the issue, a new version can be downloaded here Servoy Components – Plugins, Beans, Web Components, Angular Services & Servoy Developer Consulting

Excellent! Thanks Marcel![/quote]

BTW do you all realise that the splash plugin can be used as a waiting screen?

Probably you do because I mentioned it at Servoy World but, thanks to the fact that Enrico asked it, I realise that it is also possible to show an animated gif (no jpg/png). So the barbar bar or any other progress thing will work. My tests concerned anything up to 174k of size…

IT2BE:
BTW do you all realise that the splash plugin can be used as a waiting screen?

That’s indeed an awesome feature! Only thing is that when I use the ‘waiting’ spash screen on a formInDialog,
the splash screen appears BEHIND the formInDialog.
Is it possible to have that fixed?

Not sure, I need to know the form in dialog is present. Don’t know if that is available in the api…

IT2BE:
Not sure, I need to know the form in dialog is present. Don’t know if that is available in the api…

Maybe the function application.isFormInDialog() is usefull?

could be :)

But don’t expect this to see light too soon unless you are willing to influence my planning by paying for this feature…

Another thing is as we’re talking about viewing a Splash window,
I noticed also that the content of the Splash is not showing sometimes.
All I can see is a grey rectangle. Any idea how that could happen?

Yep, that will happen when another task is not ready (yet).