|
|
@ -337,14 +337,8 @@ 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(); |
|
|
|
|
|
|
|
|
|
|
|