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