suresh
11/10/2020, 8:29 PMjava.awt.FileDialog
seems to be working fine. Is that the recommended way?Igor Demin
11/11/2020, 11:53 PMsuresh
11/12/2020, 4:58 AMMantas Varnagiris
11/17/2020, 8:06 AMsuresh
11/17/2020, 8:09 AMimport java.awt.*
...
val dialog = FileDialog(null as Frame?, "Select File to Open")
dialog.mode = FileDialog.LOAD
dialog.isVisible = true
val file: String? = dialog.file
println("$file chosen.")
suresh
11/17/2020, 8:10 AMMantas Varnagiris
11/17/2020, 8:11 AM