RFR: 7903053: Open in browser button
Victor Rudometov
vrudomet at openjdk.java.net
Fri Nov 12 17:42:44 UTC 2021
On Thu, 11 Nov 2021 15:23:23 GMT, Dmitry Bessonov <dbessono at openjdk.org> wrote:
> Adding a button in the Files navigation panel to allow launching external browser or other associated app to display the selected file (.html or .java etc.)
>
> If either `java.awt.Desktop` or `Desktop.Action.BROWSE` action is not supported the button is disabled.
>
> If `Desktop.getDesktop().browse(selected file)` call throws an exception, the exception with its stacktrace is shown in an error dialog.
Marked as reviewed by vrudomet (Committer).
Looks great!
-------------
PR: https://git.openjdk.java.net/jtharness/pull/16
More information about the jtharness-dev
mailing list