Use hostServices.showDocument(location).
Try placing the following code in your application’s start method:
getHostServices().showDocument("http://www.yahoo.com");
More Related Contents:
- JavaFX ImageView without any smoothing
- JavaFX How to set scene background image
- How to get stage from controller during initialization?
- How to create a modal window in JavaFX 2.1
- Where does javafx.scene.image.Image(“flower.png”) look for flower.png?
- TableView: adjust number of visible rows
- Copiable Label/TextField/LabeledText in JavaFX
- Line Chart Live update
- Make portion of a text bold in a JavaFx Label or Text
- JavaFX and OpenJDK
- Adding a custom component to SceneBuilder 2.0
- JavaFX correct scaling
- JavaFX-11 with VSCode
- How to create Splash screen with transparent background in JavaFX
- JavaFX Properties in TableView
- Return result from javafx platform runlater
- JavaFX Application Icon
- how to make transparent scene and stage in javafx?
- Internal Frames in JavaFX
- JavaFX: How to change the focus traversal policy?
- How to swap screens in a JavaFX application in the controller class?
- JavaFX module javafx.graphics
- JavaFX ComboBox change value causes IndexOutOfBoundsException
- JavaFX, Label null pointer exception
- How to return value from a stage before closing it?
- can not resolve symbol “javafx.scene.web”
- JavaFX 2.2 TextField maxlength
- How do I show contents from the password field in javafx using checkbox [duplicate]
- UITableView – Better Editing through Binding?
- Styling default JavaFX Dialogs