Returns the selected file path or null if the dialog was canceled.
()
| 250 | |
| 251 | /** Returns the selected file path or null if the dialog was canceled. */ |
| 252 | public String getPath() { |
| 253 | if (getFileName()==null) |
| 254 | return null; |
| 255 | else return |
| 256 | getDirectory() + getFileName(); |
| 257 | } |
| 258 | |
| 259 | /** Returns the default directory as a string |
| 260 | * ending in the separator character ("/" or "\"), |
no test coverage detected