Skip to content

Instantly share code, notes, and snippets.

@Da9el00
Da9el00 / index.html
Created October 25, 2021 17:52
Web Development: JQuery - add and remove components from list
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="list.js"></script>
<title>Document</title>
</head>
<body>
<div class="fruits">
@Da9el00
Da9el00 / Controller.java
Created October 7, 2021 08:08
JavaFX and Scene Builder - Curved Text
package sample;
import javafx.animation.Interpolator;
import javafx.animation.PathTransition;
import javafx.animation.Transition;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.geometry.Point2D;
@Da9el00
Da9el00 / APIConnector.java
Created September 25, 2021 14:47
JavaFX weather app setuop using maven
package org.example;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Scanner;
@Da9el00
Da9el00 / Main.java
Created September 24, 2021 14:25
How to connect to An API using Java
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Scanner;
public class Main {
@Da9el00
Da9el00 / Controller.java
Last active May 12, 2022 10:45
Morse Code Translator
package sample;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
import javafx.scene.input.KeyEvent;
public class Controller {
@FXML
private TextArea textInput;
@Da9el00
Da9el00 / Controller.java
Created September 8, 2021 09:32
JavaFX and Scene Builder - Drawing Power and Exponential Function
package sample;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.RadioButton;
import javafx.scene.control.Slider;
import javafx.scene.layout.Pane;
import javafx.scene.shape.Circle;
@Da9el00
Da9el00 / Controller.java
Created September 3, 2021 07:44
JavaFX and Scene Builder - Adding and Deleting TableView Rows
package sample;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
import javafx.scene.control.cell.PropertyValueFactory;
@Da9el00
Da9el00 / Controller.java
Last active May 7, 2022 04:22
JavaFX and Scene Builder - Hangman tutorial - Controller
package sample;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.text.Text;
import java.net.URL;
@Da9el00
Da9el00 / Controller.java
Created August 26, 2021 16:36
JavaFX and Scene Builder - Calculator
package sample;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.TextField;
import javafx.scene.text.Text;
public class Controller {
@FXML
@Da9el00
Da9el00 / Controller.java
Created August 24, 2021 10:10
JavaFX and Scene Builder - Tic-Tac-toe Game
package sample;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.text.Text;
import java.net.URL;
import java.util.ArrayList;