Untitled

Run Settings
LanguageJava
Language Version
Run Command
symbolColumn.setCellFactory(new Callback<TableColumn<GetPivots, String>, TableCell<GetPivots, String>>() { @Override public TableCell<GetPivots, String> call(TableColumn<GetPivots, String> p) { return new TableCell<GetPivots, String>() { @Override public void updateItem(String item, boolean empty) { super.updateItem(item, empty); if (!isEmpty()) { setText(item); int i = getTableRow().getIndex(); System.out.println(i + " SIZE " + item + " SIZE " + R.size()); if (R.size() > 0) { if (R.get(i).getSymbol().equals(item)) { // if (R.get(i).rowResult().equals("up")) { // setText(item); setTextFill(Color.WHITE); setStyle("-fx-font-weight: bold"); setStyle("-fx-background-color: green"); } else if (R.get(i).rowResult().equals("down")) { setText(item); setTextFill(Color.BLACK); setStyle("-fx-font-weight: bold"); setStyle("-fx-background-color: red"); } else { setText(item); setTextFill(Color.BLACK); setStyle("-fx-font-weight: bold"); setStyle("-fx-background-color: gray"); } } } }else { setText(""); setGraphic(null); } // } }; } }); //////here it was/////// }
Editor Settings
Theme
Key bindings
Full width
Lines