You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Bojan Vučinić <bo...@ma-cad.com> on 2011/01/30 13:48:07 UTC

Splash Screen

All,

I've tried to get hold of the SplashScreen that I've defined in my 
manifest.mf file:

 >Manifest-Version: 1.0
 >X-COMMENT: Main-Class will be added automatically by build
 >SplashScreen-Image: com/macad/enbal/resources/welcome.jpg

But once the DesktopApplicationContext takes over, it is impossible to 
get the SplashScreen (null pointer exception is thrown).

Could you extend the API so that we can show the SplashScreen, and close 
it once all the init actions have been finished just before we open the 
application window as the nameless gray pivot window is displayed quite 
a long time.

Thanks,
Bojan

Re: Splash Screen

Posted by Sandro Martini <sa...@gmail.com>.
Hi,

> Got problem for the patch after use eclipse to get new classes and put them into the jar file.
I' sorry for the problem but until some days I'm not able to help you
better, nor to publish updated jars, sorry ... maybe next week I'll
try to post a build here:
http://people.apache.org/~smartini/

I'll post some update.

Or if someone of us is able in the meantime to post somewhere updated
jars ... but it's better NOT to post them in attach in our mailing
lists, please.


> when will the 2.0.1 be released? guess i'd better to use that.
We have last simple bugs to fix and if nothing important will happen, we are
This is our (dynamic) list of issues for 2.0.1:
https://issues.apache.org/jira/browse/PIVOT/fixforversion/12315951
After we (Pivot developers) have, as usual, to vote the release and
this requires approx. 1 week before a release being published.


Bye

Re: Splash Screen

Posted by pan peter <pa...@gmail.com>.
Got problem for the patch after use eclipse to get new classes and put them
into the jar file.

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
org.apache.pivot.wtk.TaskAdapter.access$000(Lorg/apache/pivot/wtk/TaskAdapter;)Lorg/apache/pivot/util/concurrent/TaskListener;

when will the 2.0.1 be released? guess i'd better to use that.

--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Splash-Screen-tp2383524p3460921.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Splash Screen

Posted by Sandro Martini <sa...@gmail.com>.
> but the patch download only contains the java source code, no class file.
yes, patch files are (in standard diff format) differences between
source files:
a reference version (usually the last), and the current (with the changes).

> should i build the jar by myself?
yes, but if you have all Pivot sources inside an IDE you can simple
compile all Pivot subprojects, and if you have eclipse all is already
set up.
Or if you have ant (and junit in classpath) you can build all with a
simple ant command, but you have to download even our ant build file
(in root in our trunk).

Otherwise maybe I could post somewhere an updated snapshot from latest
trunk, but probably not before the beginning of next week, sorry.
We already have a Continuous Build Server that makes nightly builds,
but at the moment (mainly to not waste space on Apache servers) I
haven't configured it to keep nightly builds artifacts ... I'll try to
see if it makes sense to enable this, and where to store if could be
useful.


Tell me.


Sandro

Re: Splash Screen

Posted by pan peter <pa...@gmail.com>.
but the patch download only contains the java source code, no class file.
should i build the jar by myself?



--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Splash-Screen-tp2383524p3460604.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Splash Screen

Posted by Sandro Martini <sa...@gmail.com>.
Hi,

> i cannot download the 2.0.1, it shows
yes, because it will be in final 2.0.1 (just to be released asap)

In the meantime you can try to download the patch from here:
https://issues.apache.org/jira/browse/PIVOT-700
in final 2.0.1 the code it's a little different, but it works in the same way.
If you have eclipse, you can even try to execute it with the given
launch file, just as a sample.

In any case you can synchronize (in read-only mode) with our trunk via
Subversion, here:
http://svn.apache.org/repos/asf/pivot/trunk/


Tell me.

Bye,
Sandro

Re: Splash Screen

Posted by pan peter <pa...@gmail.com>.
i cannot download the 2.0.1, it shows

    Connect JIRA to Bamboo to use the release management features
    Please contact your Administrator to connect JIRA to Bamboo.

any direct link here i can get the patch?

--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Splash-Screen-tp2383524p3460404.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Splash Screen

Posted by Sandro Martini <sa...@gmail.com>.
Hi all,
I tested it too and all seems to work, so just committed all.

Now if someone could test on many platforms, it would be a great thing.
Note that I've just marked the issue to Resolved (
https://issues.apache.org/jira/browse/PIVOT-700 ), but of course in
case of problems, be free to reopen and/or tell us ...

Thank you.

Bye

Re: Splash Screen

Posted by Chris Bartlett <cb...@gmail.com>.
I tested it on a few versions of Windows/Oracle JRE when I supplied
the patch, but I that is all.

If someone wants to use a Splash screen, it should be easy for them to
apply the patch from the JIRA ticket and test themselves.

Chris

On 26 October 2011 13:51, Sandro Martini <sa...@gmail.com> wrote:
> Hi all,
> the related issue ( https://issues.apache.org/jira/browse/PIVOT-700 )
> is targeted for 2.1,
> but if there aren't objections from other Pivot Developers we could
> try to put in 2.0.1, the patch contains only a little change ...
>
> Comments ?
>
>
> Chris (the original author of the fix):
> did you already use this fix in some project ?
>
>
> Bye
>

Re: Splash Screen

Posted by Sandro Martini <sa...@gmail.com>.
Hi all,
the related issue ( https://issues.apache.org/jira/browse/PIVOT-700 )
is targeted for 2.1,
but if there aren't objections from other Pivot Developers we could
try to put in 2.0.1, the patch contains only a little change ...

Comments ?


Chris (the original author of the fix):
did you already use this fix in some project ?


Bye

Re: Splash Screen

Posted by pan peter <pa...@gmail.com>.
any progress with this? it will take few seconds to launch my app, i really
need a splash screen to make user feel a little bit comfortable :-)

--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Splash-Screen-tp2383524p3454300.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Re: Splash Screen

Posted by Bojan Vučinić <bo...@ma-cad.com>.
Here it is:
https://issues.apache.org/jira/browse/PIVOT-700

Thanks for your assistance
Greg Brown said the following on 30/01/2011 14:45:
> Sure - you just need to create a JIRA account:
>
> https://issues.apache.org/jira/secure/Signup!default.jspa
>
> Then enter a new feature request for the Pivot project:
>
> https://issues.apache.org/jira/browse/PIVOT
>
> G
>
> On Jan 30, 2011, at 8:36 AM, Bojan Vučinić wrote:
>
>> Can you help me how to make a request, thanks.
>>
>> Greg Brown said the following on 30/01/2011 14:29:
>>> Sounds like a good feature request.
>>>
>>> On Jan 30, 2011, at 7:48 AM, Bojan Vučinić wrote:
>>>
>>>> All,
>>>>
>>>> I've tried to get hold of the SplashScreen that I've defined in my manifest.mf file:
>>>>
>>>>> Manifest-Version: 1.0
>>>>> X-COMMENT: Main-Class will be added automatically by build
>>>>> SplashScreen-Image: com/macad/enbal/resources/welcome.jpg
>>>> But once the DesktopApplicationContext takes over, it is impossible to get the SplashScreen (null pointer exception is thrown).
>>>>
>>>> Could you extend the API so that we can show the SplashScreen, and close it once all the init actions have been finished just before we open the application window as the nameless gray pivot window is displayed quite a long time.
>>>>
>>>> Thanks,
>>>> Bojan
>>>
>
>

Re: Splash Screen

Posted by Greg Brown <gk...@verizon.net>.
Sure - you just need to create a JIRA account:

https://issues.apache.org/jira/secure/Signup!default.jspa

Then enter a new feature request for the Pivot project:

https://issues.apache.org/jira/browse/PIVOT

G

On Jan 30, 2011, at 8:36 AM, Bojan Vučinić wrote:

> 
> Can you help me how to make a request, thanks.
> 
> Greg Brown said the following on 30/01/2011 14:29:
>> Sounds like a good feature request.
>> 
>> On Jan 30, 2011, at 7:48 AM, Bojan Vučinić wrote:
>> 
>>> All,
>>> 
>>> I've tried to get hold of the SplashScreen that I've defined in my manifest.mf file:
>>> 
>>>> Manifest-Version: 1.0
>>>> X-COMMENT: Main-Class will be added automatically by build
>>>> SplashScreen-Image: com/macad/enbal/resources/welcome.jpg
>>> But once the DesktopApplicationContext takes over, it is impossible to get the SplashScreen (null pointer exception is thrown).
>>> 
>>> Could you extend the API so that we can show the SplashScreen, and close it once all the init actions have been finished just before we open the application window as the nameless gray pivot window is displayed quite a long time.
>>> 
>>> Thanks,
>>> Bojan
>> 
>> 


Re: Splash Screen

Posted by Bojan Vučinić <bo...@ma-cad.com>.
Can you help me how to make a request, thanks.

Greg Brown said the following on 30/01/2011 14:29:
> Sounds like a good feature request.
>
> On Jan 30, 2011, at 7:48 AM, Bojan Vučinić wrote:
>
>> All,
>>
>> I've tried to get hold of the SplashScreen that I've defined in my manifest.mf file:
>>
>>> Manifest-Version: 1.0
>>> X-COMMENT: Main-Class will be added automatically by build
>>> SplashScreen-Image: com/macad/enbal/resources/welcome.jpg
>> But once the DesktopApplicationContext takes over, it is impossible to get the SplashScreen (null pointer exception is thrown).
>>
>> Could you extend the API so that we can show the SplashScreen, and close it once all the init actions have been finished just before we open the application window as the nameless gray pivot window is displayed quite a long time.
>>
>> Thanks,
>> Bojan
>
>

Re: Splash Screen

Posted by Greg Brown <gk...@verizon.net>.
Sounds like a good feature request.

On Jan 30, 2011, at 7:48 AM, Bojan Vučinić wrote:

> All,
> 
> I've tried to get hold of the SplashScreen that I've defined in my manifest.mf file:
> 
> >Manifest-Version: 1.0
> >X-COMMENT: Main-Class will be added automatically by build
> >SplashScreen-Image: com/macad/enbal/resources/welcome.jpg
> 
> But once the DesktopApplicationContext takes over, it is impossible to get the SplashScreen (null pointer exception is thrown).
> 
> Could you extend the API so that we can show the SplashScreen, and close it once all the init actions have been finished just before we open the application window as the nameless gray pivot window is displayed quite a long time.
> 
> Thanks,
> Bojan