Skip to content

Instantly share code, notes, and snippets.

View tarrsalah's full-sized avatar
🐧

Salah Eddine Taouririt tarrsalah

🐧
View GitHub Profile
#!/bin/bash
#
# pickjdk: provides a shell function that allows you to choose a JDK.
#
# The function sets JAVA_HOME and PATH On Linux or
# Windows, just set the environment variable JDKS_ROOT to the directory
# containing multiple versions of the JDK and the function will prompt you to
# select one. On OSX, JDKs will be discovered for you.
# JDKS_ROOT=/opt/jdk
import java.sql.*;
import java.util.logging.*;
import javafx.application.Application;
import javafx.collections.*;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.*;
import javafx.stage.Stage;