|
|
@ -25,6 +25,7 @@ import com.fr.design.onlineupdate.ui.widget.UpdateInfoTextAreaCellRender; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.DateUtils; |
|
|
|
import com.fr.general.DateUtils; |
|
|
|
|
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.general.SiteCenter; |
|
|
|
import com.fr.general.SiteCenter; |
|
|
@ -341,8 +342,14 @@ public class UpdateMainDialog extends UIDialog { |
|
|
|
initUpdateActionPane(); |
|
|
|
initUpdateActionPane(); |
|
|
|
|
|
|
|
|
|
|
|
add(jarVersionInfoPane, BorderLayout.NORTH); |
|
|
|
add(jarVersionInfoPane, BorderLayout.NORTH); |
|
|
|
add(jarUpdateInfoPane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
add(updateActionPane, BorderLayout.SOUTH); |
|
|
|
//海外版本不显示更新信息
|
|
|
|
|
|
|
|
if (GeneralContext.getLocale().equals(Locale.CHINA) || GeneralContext.getLocale().equals(Locale.TAIWAN)){ |
|
|
|
|
|
|
|
add(jarUpdateInfoPane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
add(updateActionPane, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
add(updateActionPane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
addActionListenerForUpdateBtn(); |
|
|
|
addActionListenerForUpdateBtn(); |
|
|
|
|
|
|
|
|
|
|
|