Package net.sf.robocode.ui.util

Examples of net.sf.robocode.ui.util.LimitedDocument


    return descriptionLabel;
  }

  public JTextArea getDescriptionArea() {
    if (descriptionArea == null) {
      LimitedDocument doc = new LimitedDocument(3, 72);

      descriptionArea = new JTextArea(doc, null, 3, 72);
      doc.addDocumentListener(eventHandler);
    }
    return descriptionArea;
  }
View Full Code Here


    return versionLabel;
  }

  public JTextField getVersionField() {
    if (versionField == null) {
      LimitedDocument doc = new LimitedDocument(1, 10);

      versionField = new JTextField(doc, null, 10);
      doc.addDocumentListener(eventHandler);
    }
    return versionField;
  }
View Full Code Here

    return descriptionLabel;
  }

  public JTextArea getDescriptionArea() {
    if (descriptionArea == null) {
      LimitedDocument doc = new LimitedDocument(3, 72);

      descriptionArea = new JTextArea(doc, null, 3, 72);
      doc.addDocumentListener(eventHandler);
    }
    return descriptionArea;
  }
View Full Code Here

    return versionLabel;
  }

  public JTextField getVersionField() {
    if (versionField == null) {
      LimitedDocument doc = new LimitedDocument(1, 10);

      versionField = new JTextField(doc, null, 10);
      doc.addDocumentListener(eventHandler);
    }
    return versionField;
  }
View Full Code Here

    return webpageHelpLabel;
  }

  public JTextField getTeamNameField() {
    if (teamNameField == null) {
      LimitedDocument doc = new LimitedClassnameDocument(1, 32);

      teamNameField = new JTextField(doc, null, 32);
      doc.addDocumentListener(eventHandler);
    }
    return teamNameField;
  }
View Full Code Here

TOP

Related Classes of net.sf.robocode.ui.util.LimitedDocument

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.