Tree FilesystemContainer smb

Following the example of the link:
which maps the contents of a folder in a tree, in my solution passed as
new File
command parameter an existing mapping on the local machine.

tree.setContainerDataSource (new FilesystemContainer (new File ("o:\\"))) On Windows machines work properly, however, on MacOS machines where there is no local mapping, need access this folder via smb or cifs.
But the
new File
command does not accept address


I’ve tried using
library that authenticates and finds the folder
However can not assign the
type as the root for
and consequently do not have a
for the

Does anyone have any idea of using a smb mapping?

You may have to first map the volume, and then serarch under /Volumes

You can look at the second response to this question