diff --git a/app/src/processing/app/contrib/UpdateContributionTab.java b/app/src/processing/app/contrib/UpdateContributionTab.java index bf58a35c6..a5828115c 100644 --- a/app/src/processing/app/contrib/UpdateContributionTab.java +++ b/app/src/processing/app/contrib/UpdateContributionTab.java @@ -294,6 +294,7 @@ public class UpdateContributionTab extends ContributionTab { icon, "" + entry.getName() + "", name, entry.getPrettyVersion(), contributionTab.contribListing.getLatestVersion(entry) }); } + ((UpdateStatusPanel)statusPanel).update(); } private class MyTableModel extends DefaultTableModel{ MyTableModel() { @@ -329,7 +330,7 @@ public class UpdateContributionTab extends ContributionTab { } } }); - this.setBackground(new Color(0xe0fffd)); + setBackground(new Color(0xebebeb)); // this.setBorder(BorderFactory.createMatteBorder(2, 0, 0, 0, Color.BLACK)); layout = new GroupLayout(this); this.setLayout(layout); @@ -345,10 +346,10 @@ public class UpdateContributionTab extends ContributionTab { layout.setVerticalGroup(layout.createParallelGroup() .addComponent(updateButton)); updateButton.setVisible(true); + updateButton.setEnabled(false); } - @Override - public void update(ContributionPanel panel) { + public void update() { if (contributionListPanel.getNoOfRows() > 0) { updateButton.setEnabled(true); } else {