private void addKeyLabel(String keyPairName, String filePath, int top) { String text = String.format("%s: %s", keyPairName, filePath); String position = String.format("left: 30px; top: %spx;", top); Label label = UIUtil.addLabel(this, text, position, "500px"); keyLabels.add(label); }
void addTitleLabel() { UIUtil.addLabel(this, "<b>Manage Keys</b>", "left: 0px; top: 10px;", "120px"); }