public void displayScore(Score score) {
Form f = new Form(score.scoreText);
f.addCommand(backCommand);
f.setCommandListener(this);
StringItem item;
item = new StringItem(null, "Rules: Japanese");
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_CENTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
// ----------------------------------------------------------------------------
item = new StringItem(null, T._("White"));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_EXPAND | Item.LAYOUT_NEWLINE_BEFORE);
f.append(item);
item = new StringItem(null, T._("Black"));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_SHRINK | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
// ----------------------------------------------------------------------------
item = new StringItem(null, T._("Territory"));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_CENTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
item = new StringItem(null, String.valueOf(score.wTerr));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_EXPAND | Item.LAYOUT_NEWLINE_BEFORE);
f.append(item);
item = new StringItem(null, String.valueOf(score.bTerr));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_SHRINK | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
// ----------------------------------------------------------------------------
item = new StringItem(null, T._("Captured"));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_CENTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
item = new StringItem(null, String.valueOf(-score.wCaptured));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_EXPAND | Item.LAYOUT_NEWLINE_BEFORE);
f.append(item);
item = new StringItem(null, String.valueOf(-score.bCaptured));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_SHRINK | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
// ----------------------------------------------------------------------------
item = new StringItem(null, T._("Dead"));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_CENTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
item = new StringItem(null, String.valueOf(-score.wDead));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_EXPAND | Item.LAYOUT_NEWLINE_BEFORE);
f.append(item);
item = new StringItem(null, String.valueOf(-score.bDead));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_SHRINK | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
// ----------------------------------------------------------------------------
item = new StringItem(null, T._("Komi"));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_CENTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
item = new StringItem(null, String.valueOf(score.komi));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_EXPAND | Item.LAYOUT_NEWLINE_BEFORE);
f.append(item);
// ----------------------------------------------------------------------------
item = new StringItem(null, "=");
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_CENTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
item = new StringItem(null, String.valueOf(score.wScore));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_EXPAND | Item.LAYOUT_NEWLINE_BEFORE);
f.append(item);
item = new StringItem(null, String.valueOf(score.bScore));
item.setFont(fontPlain());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_SHRINK | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
// ----------------------------------------------------------------------------
item = new StringItem(null, score.scoreText);
item.setFont(fontBold());
item.setLayout(Item.LAYOUT_2 | Item.LAYOUT_CENTER | Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_NEWLINE_AFTER);
f.append(item);
extern = true;
display.setCurrent(f);
}