Examples of JDBMHNReasons


Examples of com.commander4j.db.JDBMHNReasons

  private void populateList(String defaultitem) {

    DefaultComboBoxModel DefComboBoxMod = new DefaultComboBoxModel();

    JDBMHNReasons tempType = new JDBMHNReasons(Common.selectedHostID, Common.sessionID);
    Vector<JDBMHNReasons> tempTypeList = tempType.getReasons();
    int sel = -1;
    for (int j = 0; j < tempTypeList.size(); j++)
    {
      JDBMHNReasons t = (JDBMHNReasons) tempTypeList.get(j);
      DefComboBoxMod.addElement(t);
      if (t.getReason().equals(defaultitem))
      {
        sel = j;
      }
    }
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.