Skip to content

Conversation

@MariEliseeva
Copy link
Owner

No description provided.

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не надо этот файл выкладывать

import java.util.Map;

/** Client for getting file or list of them from server.*/
public class FTPClient {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а исправления задачи 3 вы будете сюда руками перекладывать? эту ветку стоило бы отвести от hw3, и добавить в неё gui для клиента

newRoot += '/';
}
((SaveController)fxmlLoader.getController()).initialize(client, newRoot + text);
Stage stage = new Stage();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а после сохранения файла никак обратно не вернуться

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ещё бы хорошо, чтобы оно поставляло текущее имя файла как дефолт

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А что означает не вернуться? Меню со списком папок и файлов вроде не закрывается, когда сохраняем, можно дальше что-то делать

try {
scene = new Scene(fxmlLoader.load(), 400, 200);
} catch (IOException e) {
Platform.exit();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это как-то слишком радикально. нужно пробросить исключение в main(), а там как-то сказать пользователю, что произошла внутренняя ошибка

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants