|
|
|
@ -119,10 +119,12 @@ public class LocalWidgetRepoPane extends BasicPane {
|
|
|
|
|
content.add(LabelUtils.createAutoWrapLabel(Toolkit.i18nText("Fine-Design_Share_Upgrade_Tip"), new Color(0x333334)), BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
JPanel actionsPane = new JPanel(new FlowLayout(FlowLayout.RIGHT, 5, 0)); |
|
|
|
|
actionsPane.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, -5)); |
|
|
|
|
actionsPane.setOpaque(false); |
|
|
|
|
actionsPane.setBackground(null); |
|
|
|
|
|
|
|
|
|
UIButton cancelUpgradeButton = new UIButton(Toolkit.i18nText("Fine-Design_Share_Upgrade_Cancel")); |
|
|
|
|
cancelUpgradeButton.setRoundBorder(true); |
|
|
|
|
cancelUpgradeButton.addActionListener(new ActionListener() { |
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
@ -132,6 +134,8 @@ public class LocalWidgetRepoPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
UIButton startUpgradeButton = new UIButton(Toolkit.i18nText("Fine-Design_Share_Upgrade_All")); |
|
|
|
|
startUpgradeButton.setSelected(true); |
|
|
|
|
startUpgradeButton.setRoundBorder(true); |
|
|
|
|
startUpgradeButton.setBorderPainted(false); |
|
|
|
|
startUpgradeButton.setForeground(Color.WHITE); |
|
|
|
|
startUpgradeButton.addActionListener(new ActionListener() { |
|
|
|
|
@Override |
|
|
|
|