This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.scene.layout.StackPane; | |
| import javafx.scene.web.WebView; | |
| /** | |
| * A syntax highlighting code editor for JavaFX created by wrapping a | |
| * CodeMirror code editor in a WebView. | |
| * | |
| * See http://codemirror.net for more information on using the codemirror editor. | |
| */ | |
| public class CodeEditor extends StackPane { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.animation.Animation; | |
| import javafx.animation.KeyFrame; | |
| import javafx.animation.KeyValue; | |
| import javafx.animation.Timeline; | |
| import javafx.application.Application; | |
| import javafx.collections.ListChangeListener; | |
| import javafx.event.ActionEvent; | |
| import javafx.event.EventHandler; | |
| import javafx.geometry.Pos; | |
| import javafx.scene.Group; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.application.Application; | |
| import javafx.beans.InvalidationListener; | |
| import javafx.beans.Observable; | |
| import javafx.collections.FXCollections; | |
| import javafx.collections.ObservableList; | |
| import javafx.scene.Node; | |
| import javafx.scene.PerspectiveCamera; | |
| import javafx.scene.Scene; | |
| import javafx.scene.chart.PieChart; | |
| import javafx.scene.layout.Region; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.jewelsea.examples.splash; | |
| import javafx.animation.FadeTransition; | |
| import javafx.application.Application; | |
| import javafx.beans.value.ChangeListener; | |
| import javafx.beans.value.ObservableValue; | |
| import javafx.event.ActionEvent; | |
| import javafx.event.EventHandler; | |
| import javafx.geometry.Pos; | |
| import javafx.geometry.Rectangle2D; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.application.Application; | |
| import javafx.beans.value.ChangeListener; | |
| import javafx.beans.value.ObservableValue; | |
| import javafx.collections.FXCollections; | |
| import javafx.collections.ObservableList; | |
| import javafx.event.ActionEvent; | |
| import javafx.event.EventHandler; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.Button; | |
| import javafx.scene.control.CheckBox; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package imagefill; | |
| import javafx.application.Application; | |
| import javafx.beans.property.*; | |
| import javafx.scene.Node; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.ScrollPane; | |
| import javafx.scene.image.Image; | |
| import javafx.scene.image.ImageView; | |
| import javafx.scene.layout.Pane; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.application.Application; | |
| import javafx.beans.value.ChangeListener; | |
| import javafx.beans.value.ObservableValue; | |
| import javafx.collections.FXCollections; | |
| import javafx.scene.Node; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.ListView; | |
| import javafx.scene.control.ScrollBar; | |
| import javafx.scene.layout.StackPane; | |
| import javafx.stage.Stage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.animation.KeyFrame; | |
| import javafx.animation.KeyValue; | |
| import javafx.animation.Timeline; | |
| import javafx.application.Application; | |
| import javafx.event.ActionEvent; | |
| import javafx.event.EventHandler; | |
| import javafx.geometry.Insets; | |
| import javafx.geometry.Pos; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.Button; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.application.Application; | |
| import javafx.scene.Scene; | |
| import javafx.scene.web.WebView; | |
| import javafx.stage.Stage; | |
| public class WebViewQuadratic extends Application { | |
| public static void main(String[] args) { Application.launch(args); } | |
| @Override public void start(Stage primaryStage) { | |
| WebView webView = new WebView(); | |
| webView.getEngine().loadContent( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import javafx.application.Application; | |
| import javafx.beans.value.*; | |
| import javafx.concurrent.Worker; | |
| import javafx.event.*; | |
| import javafx.scene.*; | |
| import javafx.scene.control.*; | |
| import javafx.scene.effect.BoxBlur; | |
| import javafx.scene.input.MouseEvent; | |
| import javafx.scene.layout.*; | |
| import javafx.scene.paint.Color; |