[kepler-dev] Splash screen and corresponding changes

Kevin Ruland kruland at ku.edu
Wed Feb 15 10:03:15 PST 2006


Edward,

Yes, that is the stickler.  I've only tested on one platform (Win XP + 
jdk 1.5) and with two different machines (same vm args though).  I don't 
doubt there can be problems on other platforms especially if using older 
jdks (pre 1.4 anyway).  There have been anecdotal reports from other 
Kepler developers that the  application with splash is showing correctly 
on Linux.  I'm hoping that you/Christopher have a collection of reliable 
test cases which could help out.

The real fix for this problem is to push the invokeLaters much deeper 
into ptolemy, for example in Tableau.show().  However, I am not 
comfortable making such a change because of my rudimentary understanding 
of the ptolemy code base.

There have been some changes to swing and moving away from the 
deprecated api (Component.show()/hide()) to 
Component.setVisible(boolean) might also fix the issues you've seen in 
the past.

Kevin

Edward A. Lee wrote:
> At 05:52 PM 2/14/2006, Kevin Ruland wrote:
>> BTW - after I removed invokeLater completely from 
>> VergilApplication.main() the application rendered all three initial 
>> windows (splash, empty graph tableau, and welcome html) flawlessly.
>
> How many platforms have you tried it on?
> How many different configurations (memory size, etc.)?
>
> Edward
>
>
>
> ------------
> Edward A. Lee
> Professor, Chair of the EE Division, Associate Chair of EECS
> 231 Cory Hall, UC Berkeley, Berkeley, CA 94720
> phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
> eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal 



More information about the Kepler-dev mailing list