Package de.matthiasmann.twl

Examples of de.matthiasmann.twl.EditField


    x = getOX() + 10 + 21;
    y += resourceDispTo.getHeight() + 9;
    fields = new HashMap<Resource, EditField>();
    Resource[] resources = Resource.values();
    for (Resource r : resources) {
      EditField ef = new NumberField();
      ef.setTheme("editfield");
      ef.setPosition(x, y += 25);
      ef.setSize(120, 15);
      twlRootPane.add(ef);
      fields.put(r, ef);
    }

    x = Settings.WIDTH / 2 - 5 - TextButton.DEFAULT_WIDTH;
View Full Code Here


      }
    });
    cancelColonyButton.hide();
    add(cancelColonyButton);

    this.colonyNameField = new EditField();
    this.colonyNameField.setVisible(false);
    this.getRootPane().add(this.colonyNameField);

    if (GameData.getSelectedColony() != null) {
      this.selectedColony = GameData.getSelectedColony();
View Full Code Here

TOP

Related Classes of de.matthiasmann.twl.EditField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.