示例#1
0
  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);
  }
示例#2
0
 void addTitleLabel() {
   UIUtil.addLabel(this, "<b>Manage Keys</b>", "left: 0px; top: 10px;", "120px");
 }