Skip to content

Commit c41455d

Browse files
committed
download dialog cannot be resized
1 parent d67affe commit c41455d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/processing/mode/android/AndroidSDK.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ static public int showLocateDialog(Frame editor) {
282282
pane.setInitialValue(options[0]);
283283

284284
JDialog dialog = pane.createDialog(editor, null);
285+
dialog.setTitle("");
285286
dialog.setModalityType(Dialog.ModalityType.APPLICATION_MODAL);
286287
dialog.setVisible(true);
287288

src/processing/mode/android/SDKDownloader.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public static String humanReadableByteCount(long bytes, boolean si) {
276276
}
277277

278278
public SDKDownloader(Frame editor, AndroidMode mode) {
279-
super(editor, "", true);
279+
super(editor, "Need to reach out Google!", true);
280280
this.editor = editor;
281281
this.mode = mode;
282282
this.sdk = null;
@@ -373,6 +373,7 @@ public void actionPerformed(ActionEvent actionEvent) {
373373

374374
pack();
375375

376+
setResizable(false);
376377
setLocationRelativeTo(editor);
377378
}
378379

0 commit comments

Comments
 (0)