Develop footer #35
|
@ -4,6 +4,7 @@ import ch.zhaw.projekt2.turnierverwaltung.main.gameScheduleView.GameController;
|
|||
import ch.zhaw.projekt2.turnierverwaltung.main.gameScheduleView.GameDecorator;
|
||||
import ch.zhaw.projekt2.turnierverwaltung.main.tournamentList.TournamentListController;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.TextArea;
|
||||
import javafx.scene.layout.*;
|
||||
|
@ -111,6 +112,7 @@ public class Factory {
|
|||
resetFooter(pane,false);
|
||||
label.setTextFill(Color.GREEN);
|
||||
label.setFont(new Font(10));
|
||||
label.setPadding(new Insets(0,10,0,0));
|
||||
innerVbox.getChildren().add(label);
|
||||
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ import javafx.application.Platform;
|
|||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
|
@ -58,6 +59,8 @@ public class TournamentDecorator implements IsObservable{
|
|||
|
||||
public void saveTournament(){
|
||||
executorService.execute(new saveTask());
|
||||
factoryDecorator.clearMessage(false);
|
||||
factoryDecorator.printMessageToFooter("Zuletzt gespeichert: " + new Date().toString(),false);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue