Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private final SimpleStringProperty name;
- private final SimpleStringProperty price;
- private final SimpleStringProperty currency;
- -----------------------------------------------------
- TableColumn Name = new TableColumn("Name");
- Name.setMinWidth(210);
- Name.setCellValueFactory(
- new PropertyValueFactory<Products, String>("name"));
- TableColumn Price = new TableColumn("Price");
- Price.setCellValueFactory(
- new PropertyValueFactory<Products, String>("price"));
- TableColumn Currency = new TableColumn("Currency");
- Currency.setMinWidth(120);
- Currency.setCellValueFactory(
- new PropertyValueFactory<Products, String>("currency"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement