*/
private boolean displayErrorScreen(List<TestError> errors) {
JPanel p = new JPanel(new GridBagLayout());
ValidatorTreePanel errorPanel = new ValidatorTreePanel(errors);
errorPanel.expandAll();
HtmlPanel pnlMessage = new HtmlPanel();
pnlMessage.setText("<html><body>"
+ tr("The following are results of automatic validation. Try fixing"
+ " these, but be careful (don''t destroy valid data)."
+ " When in doubt ignore them.<br>When you"
+ " cancel this dialog, you can find the entries in the validator"
+ " side panel to inspect them.")
+ "<table align=\"center\">"
+ "<tr><td align=\"left\"><b>"+tr("Errors")
+ " </b></td><td align=\"left\">"
+ tr("Usually this should be fixed.")+"</td></tr>"
+ "<tr><td align=\"left\"><b>"+tr("Warnings")
+ " </b></td><td align=\"left\">"
+ tr("Fix these when possible.")+"</td></tr>"
+ "<tr><td align=\"left\"><b>"+tr("Other")
+ " </b></td><td align=\"left\">"
+ tr("Informational warnings, expect many false entries.")+"</td></tr>"
+ "</table>"
);
pnlMessage.setPreferredSize(new Dimension(500, 150));
p.add(pnlMessage, GBC.eol().fill(GBC.HORIZONTAL));
p.add(new JScrollPane(errorPanel), GBC.eol().fill(GBC.BOTH));
ExtendedDialog ed = new ExtendedDialog(Main.parent,
tr("Suspicious data found. Upload anyway?"),