GTK+ and Qt have xdg-desktop-portal functionality built-in, but it's unclear to me how to implement this functionality in Java.
How would one go about doing this? Are there any examples or packages to simplify implementation?
EDIT: To be specific, I need to be able to open an "open file" or "save as" dialogs, as described in the xdg-desktop-portal README.