Package ModelLayer

Examples of ModelLayer.Product


  }
 
  public void searchProduct(ActionEvent e){
    ControlProduct ctrProd=new ControlProduct();
    String name=textField_15.getText();
    Product prod= ctrProd.findProduct(name, false);
    textField_15.setText(prod.getName());
    textField_16.setText(String.valueOf(prod.getPurchasePrice()));
    textField_17.setText(String.valueOf(prod.getSalesPrice()));
    textField_18.setText(String.valueOf(prod.getRentPrice()));
    textField_19.setText(String.valueOf(prod.getMinStock()));
    textField_20.setText(prod.getCountryOfOrigin());
    textField_21.setText(prod.getSupplier().getName());
   
   
  }
View Full Code Here

TOP

Related Classes of ModelLayer.Product

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.