@ -2,6 +2,7 @@ package com.fr.start.common;
import com.bulenkov.iconloader.IconLoader ;
import com.bulenkov.iconloader.IconLoader ;
import com.fr.base.BaseUtils ;
import com.fr.base.BaseUtils ;
import com.fr.design.DesignerEnvManager ;
import com.fr.general.IOUtils ;
import com.fr.general.IOUtils ;
import com.fr.general.locale.image.I18nImage ;
import com.fr.general.locale.image.I18nImage ;
@ -11,6 +12,7 @@ import java.awt.Graphics;
import java.awt.Graphics2D ;
import java.awt.Graphics2D ;
import java.awt.RenderingHints ;
import java.awt.RenderingHints ;
import java.awt.image.BufferedImage ;
import java.awt.image.BufferedImage ;
import java.util.Locale ;
/ * *
/ * *
* @author Yvan
* @author Yvan
@ -43,8 +45,9 @@ public class SplashPane4WinAndJDK11 extends SplashPane{
}
}
private String getSplashPath4WinAndJdk11 ( ) {
private String getSplashPath4WinAndJdk11 ( ) {
String path = I18nImage . getImagePath ( SPLASH_PATH ) ;
Locale locale = DesignerEnvManager . getEnvManager ( ) . getLanguage ( ) ;
String pathOfDouble = I18nImage . getImagePath ( DOUBLE_SPLASH_PATH ) ;
String path = I18nImage . getImagePath ( SPLASH_PATH , locale ) ;
String pathOfDouble = I18nImage . getImagePath ( DOUBLE_SPLASH_PATH , locale ) ;
// 为图片加上"@2x"
// 为图片加上"@2x"
// 某些定制jar里面没有两倍图,判断一下,如果文件不存在,就返回一倍图的path
// 某些定制jar里面没有两倍图,判断一下,如果文件不存在,就返回一倍图的path
if ( IOUtils . readResource ( pathOfDouble ) ! = null ) {
if ( IOUtils . readResource ( pathOfDouble ) ! = null ) {