code cleanup & processbuilder

* use a processBuilder to start the new application after updating
This commit is contained in:
Jannik 2018-04-08 13:30:55 +02:00
parent 78fa84758d
commit e12da3d116
1 changed files with 35 additions and 35 deletions

View File

@ -224,7 +224,7 @@ public class MainWindowController {
private TreeTableColumn<FilmTabelDataType, ImageView> columnFavorite = new TreeTableColumn<>("Favorite");
@FXML
private TreeItem<SourceDataType> sourceRoot =new TreeItem<>(new SourceDataType("", ""));
private TreeItem<SourceDataType> sourceRoot = new TreeItem<>(new SourceDataType("", ""));
@FXML
private TableColumn<SourceDataType, String> sourceColumn;
@FXML
@ -331,7 +331,7 @@ public class MainWindowController {
filmsTreeTable.getColumns().add(columnFavorite);
filmsTreeTable.getColumns().add(columnSeason);
filmsTreeTable.getColumns().add(columnEpisode);
filmsTreeTable.getColumns().get(0).setVisible(false); //hide columnStreamUrl (important)
filmsTreeTable.getColumns().get(0).setVisible(false); // hide columnStreamUrl (important)
// context menu for treeTableViewfilm
filmsTreeTable.setContextMenu(menu);
@ -342,7 +342,7 @@ public class MainWindowController {
sourcesTable.setItems(sourcesList);
}
//Initializing the actions
// Initializing the actions
private void initActions() {
HamburgerBackArrowBasicTransition burgerTask = new HamburgerBackArrowBasicTransition(menuHam);