static public void populateTableProductsFromDatabase(Products products, DefaultTableModel model, Connection connection) throws SQLException {
		int id;
		String name = "";
		int quantity = 0;
		float price = 0;
		
		String query = "select * from products";
		
		PreparedStatement ps = connection.prepareStatement(query);
		
		ResultSet results = ps.executeQuery();
		
		while(results.next()) {
			id = results.getInt("product_id");
			name = results.getString("name");
			quantity = results.getInt("quantity");
			price = results.getFloat("price"); 
			
			model.addRow(new Object[] {id,name,quantity,price});
			
			
		}
		
			
	}