Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. private final SimpleStringProperty name;
  2. private final SimpleStringProperty price;
  3. private final SimpleStringProperty currency;
  4.  
  5.  
  6. -----------------------------------------------------
  7.  
  8. TableColumn Name = new TableColumn("Name");
  9. Name.setMinWidth(210);
  10. Name.setCellValueFactory(
  11. new PropertyValueFactory<Products, String>("name"));
  12.  
  13. TableColumn Price = new TableColumn("Price");
  14. Price.setCellValueFactory(
  15. new PropertyValueFactory<Products, String>("price"));
  16.  
  17. TableColumn Currency = new TableColumn("Currency");
  18. Currency.setMinWidth(120);
  19. Currency.setCellValueFactory(
  20. new PropertyValueFactory<Products, String>("currency"));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement