|
|
@ -23,11 +23,7 @@ import com.fr.design.onlineupdate.ui.widget.UpdateInfoTableCellRender; |
|
|
|
import com.fr.design.onlineupdate.ui.widget.UpdateInfoTableModel; |
|
|
|
import com.fr.design.onlineupdate.ui.widget.UpdateInfoTableModel; |
|
|
|
import com.fr.design.onlineupdate.ui.widget.UpdateInfoTextAreaCellRender; |
|
|
|
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.*; |
|
|
|
import com.fr.general.DateUtils; |
|
|
|
|
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
|
|
|
|
import com.fr.general.IOUtils; |
|
|
|
|
|
|
|
import com.fr.general.SiteCenter; |
|
|
|
|
|
|
|
import com.fr.general.http.HttpClient; |
|
|
|
import com.fr.general.http.HttpClient; |
|
|
|
import com.fr.json.JSONArray; |
|
|
|
import com.fr.json.JSONArray; |
|
|
|
import com.fr.json.JSONObject; |
|
|
|
import com.fr.json.JSONObject; |
|
|
@ -341,8 +337,14 @@ public class UpdateMainDialog extends UIDialog { |
|
|
|
initUpdateActionPane(); |
|
|
|
initUpdateActionPane(); |
|
|
|
|
|
|
|
|
|
|
|
add(jarVersionInfoPane, BorderLayout.NORTH); |
|
|
|
add(jarVersionInfoPane, BorderLayout.NORTH); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//海外版本不显示更新信息
|
|
|
|
|
|
|
|
if (GeneralContext.getLocale().equals(Locale.CHINA) || GeneralContext.getLocale().equals(Locale.TAIWAN)){ |
|
|
|
add(jarUpdateInfoPane, BorderLayout.CENTER); |
|
|
|
add(jarUpdateInfoPane, BorderLayout.CENTER); |
|
|
|
add(updateActionPane, BorderLayout.SOUTH); |
|
|
|
add(updateActionPane, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
add(updateActionPane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
addActionListenerForUpdateBtn(); |
|
|
|
addActionListenerForUpdateBtn(); |
|
|
|
|
|
|
|
|
|
|
|