-
Notifications
You must be signed in to change notification settings - Fork 0
Hw4.FTO_GUI #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Hw4.FTO_GUI #7
Conversation
|
эту ветку по логике стоит отвести от hw3 и добавить gui туда. раскопирование кода ни к чему хорошему не приводит |
|
|
||
| @Override | ||
| public void start(Stage primaryStage) throws Exception { | ||
| primaryStage.setTitle("Крестики - Нолики"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
| */ | ||
| private void download(GridPane gridPane, Client client, String path) { | ||
| gridPane.getChildren().clear(); | ||
| CreateNewElements.createLabel(gridPane, 50, 300, 0, 0, "Введите путь для сохранения"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а нельзя показать диалог, который бы позволил выбрать путь?
| import java.util.HashSet; | ||
| import java.util.List; | ||
|
|
||
| public class CreateNewElements { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
не очень по стайлгайду имя класса
| * @param client to communicate with the server | ||
| * @param clientUI for print result | ||
| */ | ||
| public static void createBackButton(GridPane gridPane, double height, double width, int x, int y, String text, String path, Client client, ClientUI clientUI) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
длинноваты строки
No description provided.