Skip to content

Instantly share code, notes, and snippets.

View ajiniesta's full-sized avatar

Antonio José Iniesta ajiniesta

View GitHub Profile
@ajiniesta
ajiniesta / DotDotLoading
Created April 1, 2013 15:52
DotDotLoading, represents the transitions of Text elements through JavaFX Services
import javafx.application.Application;
import javafx.application.Platform;
import javafx.concurrent.Service;
import javafx.concurrent.Task;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
@ajiniesta
ajiniesta / FibonacciTest
Last active October 16, 2024 12:41
Fibonacci with ForkJoinPool.
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.RecursiveTask;
public class FibonacciTest {
/**
* @param args
*/
public static void main(String[] args) {
Long n = 20L;
@ajiniesta
ajiniesta / Sample JavaFX WebView
Last active March 12, 2023 00:37
A simple JavaFX WebView sample
public class WebTesting extends Application{
public static void main(String[] args){
launch(args);
}
@Override
public void start(Stage stage) throws Exception {
VBox vbox = new VBox(10);