Adds the system icon for the specified file next to the window title (and allows viewing the parent directories). @param filename A path to a file @return this
(@NotNull String filename)
| 96 | * @return this |
| 97 | */ |
| 98 | @NotNull @Contract("-> this") |
| 99 | public Window setRepresentedFilename(@NotNull String filename) { |
| 100 | assert _onUIThread() : "Should be run on UI thread"; |
| 101 | _nSetRepresentedFilename(filename); |
| 102 | return this; |
| 103 | } |
| 104 | |
| 105 | @Override |
| 106 | public Window setIcon(File icon) { |
no test coverage detected