scene = new Scene(borderPane, 750, 612);
}
private void loadGameInterface(){
FlowPane infosPane = new FlowPane(Orientation.VERTICAL);
infosPane.setStyle("-fx-background-image: url(\"res\\ihm\\texture.jpg\");");
Insets in = new Insets(10, 0, 0, 0);
roundScoreLabel = new Label();
FlowPane.setMargin(roundScoreLabel, in);
trumpLabel = new Label();
FlowPane.setMargin(trumpLabel, in);
gameScoreLabel = new Label();
FlowPane.setMargin(gameScoreLabel, in);
tchatListView = new ListView();
tchatListView.setMaxHeight(300);
FlowPane.setMargin(tchatListView, in);
tchatTextField = new TextField();
tchatTextField.setMaxHeight(50);
tchatTextField.setMinHeight(20);
tchatTextField.setOnAction(new TchatHandler());
FlowPane.setMargin(tchatTextField, in);
beloteCheck = new CheckBox(" Belote");
beloteCheck.setVisible(false);
FlowPane.setMargin(beloteCheck, in);
foldGrid = new GridPane();
FlowPane.setMargin(foldGrid, in);
infosPane.getChildren().addAll(roundScoreLabel, trumpLabel, gameScoreLabel, tchatListView, tchatTextField, beloteCheck, foldGrid);
BorderPane.setMargin(infosPane, new Insets(0, 10, 0, 10));
borderPane.setRight(infosPane);
borderPane.setStyle("-fx-background-image: url(\"res\\ihm\\texture.jpg\");");