title: JavaFX table contours of the table
body: <p>Hi could you help me how I can do contours of the table. I want that all rows in table have contours .Thanks for help. My table look like this : </p>
  
  <pre><code>TableColumn busNumberCol = new TableColumn("Linia");
          busNumberCol.setCellValueFactory(
                  new PropertyValueFactory&lt;&gt;("busNumber"));
          busNumberCol.setPrefWidth(tb.getPrefWidth()/5);
  
          TableColumn courseCol = new TableColumn("Kierunek");
          courseCol.setCellValueFactory(
                  new PropertyValueFactory&lt;&gt;("nameBusStpo"));
          courseCol.setPrefWidth((tb.getPrefWidth()-tb.getPrefWidth()/5)/2-1);
          TableColumn departureCol = new TableColumn("Odjazd");
          departureCol.setPrefWidth((tb.getPrefWidth()-tb.getPrefWidth()/5)/2-1);
          departureCol.setCellValueFactory(
                  new PropertyValueFactory&lt;&gt;("busTimetable"));
          table.setPrefHeight(tb.getPrefHeight());
  
          table.setStyle("-fx-background-color: orange");
          table.setPrefWidth(tb.getPrefWidth());
          table.setItems(list);
          table.getColumns().addAll(busNumberCol, courseCol, departureCol);
          table.setPlaceholder(new Label(""));    
  </code></pre>