Examples of ValidatedTextField


Examples of org.xnap.gui.component.ValidatedTextField

    GridBagHelper.add(jpStartup, new MultiLineLabel(XNap.tr("XNap can fetch lists of OpenNap server addresses. These lists are provided by service providers that are not affiliated with the XNap project.")));
   
    serverListTextArea = new JTextArea(napPrefs.getNapigatorURL(), 5, 40);
    GridBagHelper.add(jpStartup, new JScrollPane(serverListTextArea));
   
        autoFetchNapigatorIntervalTextField = new ValidatedTextField
      (napPrefs.getAutoFetchNapigatorInterval() + "", 5,
       ValidatedTextField.NUMBERS_INT);
    autoFetchNapigatorAction
      = new EnableAction
        (XNap.tr("Refresh lists every"),
View Full Code Here

Examples of xnap.gui.ValidatedTextField

  jtHost = new JTextField(server.getHost(), 20);
  GridBagHelper.add(jp, jtHost);

  // port
  GridBagHelper.addLabel(jp, Plugin.tr("Port"));
  jtPort = new ValidatedTextField
      (server.getPort() + "", 5, ValidatedTextField.NUMBERS_INT);
  GridBagHelper.add(jp, jtPort, false);
 
  // network
  GridBagHelper.addLabel(jp, Plugin.tr("Network"));
  jtNetwork = new ValidatedTextField(server.getNetwork(), 20,
             StringHelper.REGULAR_STRING);
  GridBagHelper.add(jp, jtNetwork);


  // type
View Full Code Here

Examples of xnap.gui.ValidatedTextField

        GridBagHelper.addLabel(this, "Host");
        jteGiftHost = new JTextField(prefs.getGiftHost(), 30);
        GridBagHelper.add(this, jteGiftHost, false)

        GridBagHelper.addLabel(this, "Port");
        jteGiftPort = new ValidatedTextField(prefs.getGiftPort() + "",
             5,ValidatedTextField.NUMBERS_INT);
        GridBagHelper.add(this, jteGiftPort, false);

  GridBagHelper.addVerticalSpacer(this);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.