initializes the product list when opening the admin panel . concode_field_sep TableView<Product> productTableView concode_elem_sep TextField price concode_elem_sep TableColumn<Product,String> pname concode_elem_sep TableColumn<Product,Double> pprice concode_elem_sep Admin admin concode_elem_sep TextField productName concode_field_sep void handleAddProductButtonAction
void function ( URL arg0 , ResourceBundle arg1 ) { pname . setCellValueFactory ( new PropertyValueFactory < Product , String > ( "srini_string" ) ) ; pprice . setCellValueFactory ( new PropertyValueFactory < Product , Double > ( "srini_string" ) ) ; productTableView . getItems ( ) . setAll ( admin . getProductCatalogue ( ) . getProductList ( ) ) ; }