--- old/src/java.desktop/macosx/native/libawt_lwawt/awt/CFileDialog.m 2015-11-25 10:20:58.000000000 +0530 +++ new/src/java.desktop/macosx/native/libawt_lwawt/awt/CFileDialog.m 2015-11-25 10:20:58.000000000 +0530 @@ -120,8 +120,11 @@ [openPanel setCanChooseFiles:!fChooseDirectories]; [openPanel setCanChooseDirectories:fChooseDirectories]; [openPanel setCanCreateDirectories:YES]; + if (fChooseDirectories) { + [openPanel setPrompt:@" Choose "]; + } } - + [thePanel setDelegate:self]; fPanelResult = [thePanel runModalForDirectory:fDirectory file:fFile]; [thePanel setDelegate:nil];