Advertisement
Guest User

javaerror

a guest
Mar 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. package university_bd2f;
  2.  
  3. import java.net.URL;
  4. import java.util.ResourceBundle;
  5. import javafx.collections.FXCollections;
  6. import javafx.collections.ObservableList;
  7. import javafx.event.ActionEvent;
  8. import javafx.fxml.FXML;
  9. import javafx.fxml.Initializable;
  10. import javafx.scene.control.ComboBox;
  11. import javafx.scene.control.TableView;
  12. import javafx.scene.control.TableColumn;
  13. import javafx.scene.control.TableColumn.CellDataFeatures;
  14. import javafx.scene.control.TableView;
  15.  
  16. /**
  17. * FXML Controller class
  18. *
  19. * @author srjefers
  20. */
  21. public class Pnl_notasController implements Initializable {
  22.  
  23. @FXML
  24. private TableView<ObservableList<String>> tbv_notas;
  25.  
  26. @FXML
  27. private ComboBox<ObservableList<Integer>> lvw_semestre;
  28. private ObservableList<ObservableList<Integer>> data;
  29. final ObservableList lista = FXCollections.observableArrayList();
  30.  
  31.  
  32. @FXML
  33. void get_notas(ActionEvent event) {
  34. int datos;
  35. datos = lvw_semestre.getValue();
  36. }
  37.  
  38. @FXML
  39. void set_certificado(ActionEvent event) {
  40.  
  41. }
  42. @Override
  43. public void initialize(URL url, ResourceBundle rb) {
  44. //llenar combobox de numeros
  45. lista.addAll(1,2,3,4,5,6,7);//,"8","9","10","11","12"
  46. lvw_semestre.setItems(lista);
  47.  
  48. }
  49.  
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement