title: Change JavaFX TableView font size
body: <p>Hi I want to set Font on text inside in column in tablewView. How I can do it in Java this is my code. Thanks for help.</p>
  
  <pre><code>    private final TableView&lt;AnotherBus&gt; table = new TableView&lt;&gt;();
  
      TableColumn busNumberCol = new TableColumn("Linia");
              busNumberCol.setCellValueFactory(
                      new PropertyValueFactory&lt;&gt;("busNumber"));
              busNumberCol.getStyleClass().add("Times New Roman,40");
  
              tb.getStyleClass().add("Times New Roman");
  
              TableColumn courseCol = new TableColumn("Kierunek");
              courseCol.setCellValueFactory(
                      new PropertyValueFactory&lt;&gt;("nameBusStpo"));
              courseCol.setPrefWidth(200);
              courseCol.getStyleClass().add("Times New Roman");
              TableColumn departureCol = new TableColumn("Odjazd");
              departureCol.setCellValueFactory(
                      new PropertyValueFactory&lt;&gt;("busTimetable"));
              table.setItems(list);
              table.getColumns().addAll(busNumberCol, courseCol, departureCol);
              table.setPlaceholder(new Label(
  
  ""));
  </code></pre>