BBjThinClient::browse

Description

In BBj 11.00 and higher, this method opens the specified URL in the default browser (GUI) or the current browser (BUI and DWC).

BUI logoDWC logo

 See below.

Syntax

Return Value Method
void browse(string url)
void browse(string url, string name, string features)

Parameters

Parameter Description
url Specifies the URL to be opened. Must include the protocol prefix (usually http:// or https://).
name Optionally specifies a window name (BUI and DWC only; available options defined by the browser. See Window.open()).
features Optionally specifies a comma-separated list of window features (BUI and DWC only; supported options defined by the browser. See Window.open()).

Return Value

None.

Remarks

The Java Swing GUI client opens the given URL using Desktop.browse().

The BUI and DWC browser clients open the given URL using Window.open().

Example

bbjapi().getThinClient().browse("https://www.basis.cloud")

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.