- if( running && applications.get( ind ).getStartTime() != 0 )
- {
- applications.get( ind ).setStartTime( System.currentTimeMillis() ) ;
- applications.get( ind ).setLastSaveDate( System.currentTimeMillis() ) ;
- }}
+ if( running && ! applications.get( ind ).getStartMark() )
+ {
+ System.out.println( "Application is starting." ) ;
+ applications.get( ind ).setStartMark() ;
+ applications.get( ind ).setStartTime( System.currentTimeMillis() ) ;
+ applications.get( ind ).setLastSaveDate( System.currentTimeMillis() ) ;
+ }
+ }