|
|
|
@ -12,6 +12,7 @@ import com.fr.design.gui.icontainer.UIScrollPane;
|
|
|
|
|
import com.fr.design.gui.ilable.ActionLabel; |
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
|
import com.fr.design.i18n.DesignSizeI18nManager; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
@ -69,7 +70,6 @@ public class UpdateMainDialog extends UIDialog {
|
|
|
|
|
public static final Dimension DEFAULT = new Dimension(660, 620); |
|
|
|
|
|
|
|
|
|
private static final Dimension PROGRESSBAR = new Dimension(120, 15); |
|
|
|
|
private static final Dimension UPDATE_BUTTON = new Dimension(80, 24); |
|
|
|
|
private static final int UPDATE_PANE_ROW_SIZE = 30; |
|
|
|
|
private static final int UPDATE_CONTENT_PANE_ROW_SIZE = 10; |
|
|
|
|
private static final int UPDATE_CONTENT_PANE_COLUMN_SIZE = 10; |
|
|
|
@ -295,7 +295,7 @@ public class UpdateMainDialog extends UIDialog {
|
|
|
|
|
loadingLabel = new LoadingLabel(); |
|
|
|
|
loadingLabel.setText(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Updater_Checking_Jar_Update")); |
|
|
|
|
updateButton = new UIButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Updater_Update")); |
|
|
|
|
updateButton.setPreferredSize(UPDATE_BUTTON); |
|
|
|
|
updateButton.setPreferredSize(DesignSizeI18nManager.getInstance().i18nDimension("com.fr.design.update.ui.dialog.UpdateMainDialog.updateButton")); |
|
|
|
|
updateButton.setEnabled(false); |
|
|
|
|
|
|
|
|
|
double[] rowSize = {TableLayout.PREFERRED}; |
|
|
|
|