From 44ce5fe67af6fd4a995edc3509a7b8cb965e45f1 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Thu, 19 Mar 2015 17:43:03 +0100 Subject: [PATCH] Fixed missing error message --- .../contributions/packages/ui/ContributionManagerUI.java | 2 +- app/src/cc/arduino/contributions/ui/InstallerJDialog.java | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/cc/arduino/contributions/packages/ui/ContributionManagerUI.java b/app/src/cc/arduino/contributions/packages/ui/ContributionManagerUI.java index 5bd4a98ac..ff2807903 100644 --- a/app/src/cc/arduino/contributions/packages/ui/ContributionManagerUI.java +++ b/app/src/cc/arduino/contributions/packages/ui/ContributionManagerUI.java @@ -76,7 +76,7 @@ public class ContributionManagerUI extends InstallerJDialog { } public ContributionManagerUI(Frame parent) { - super(parent, "Boards Manager", Dialog.ModalityType.APPLICATION_MODAL); + super(parent, _("Boards Manager"), Dialog.ModalityType.APPLICATION_MODAL); } public void setIndexer(ContributionsIndexer indexer) { diff --git a/app/src/cc/arduino/contributions/ui/InstallerJDialog.java b/app/src/cc/arduino/contributions/ui/InstallerJDialog.java index 77d5e3892..de18fe1c4 100644 --- a/app/src/cc/arduino/contributions/ui/InstallerJDialog.java +++ b/app/src/cc/arduino/contributions/ui/InstallerJDialog.java @@ -34,9 +34,6 @@ import processing.app.Theme; import javax.swing.*; import javax.swing.border.EmptyBorder; -import javax.swing.event.TableModelEvent; -import javax.swing.event.TableModelListener; -import javax.swing.table.TableCellRenderer; import javax.swing.table.TableColumn; import javax.swing.table.TableColumnModel; import java.awt.*; @@ -160,7 +157,6 @@ public abstract class InstallerJDialog extends JDialog { errorMessage = new JLabel(""); errorMessage.setForeground(Color.RED); - errorMessage.setVisible(false); { JButton cancelButton = new JButton(_("Cancel"));