Skip to content

Conversation

@XRater
Copy link
Owner

@XRater XRater commented May 30, 2018

No description provided.

Copy link

@dzharkov dzharkov left a comment

Choose a reason for hiding this comment

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

Текущая оценка: 8
Макс. оценка: 9

if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
final File destination = chooser.getSelectedFile();
try {
client.get(joiner.toString(),
Copy link

Choose a reason for hiding this comment

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

А можно сделать так, чтобы при скачивании файла UI не блокировался насмерть, а можно было бы хотя бы менять размер окна/двигаться по списку файлов?
Намек на то, что не стоит запускать долгие процессы в UI-потоке.
Пока -1

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