Skip to content

Instantly share code, notes, and snippets.

View sedj601's full-sized avatar
๐Ÿ˜‚
Happy Coding!

Sedrick Jefferson sedj601

๐Ÿ˜‚
Happy Coding!
  • Auburn, AL
View GitHub Profile
//SedJ601
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
@sedj601
sedj601 / DoublyLinkedList.java
Last active October 23, 2024 15:03
Doubly LinkedList Alpha Ordered
class DoublyLinkedList {
//A node class for doubly linked list
class Node{
String name;
Node previous;
Node next;
public Node(String name) {
this.name = name;
}
@sedj601
sedj601 / App.java
Created August 22, 2024 20:37
JavaFX WatchService - Alerts When Changes Inside a Test Folder - This is probably full off issues!!!
import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
public class App extends Application {
import java.util.ArrayList;
import java.util.List;
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
@sedj601
sedj601 / Main
Created February 17, 2023 18:34
Update ListView by Double Clicking on Cell
import java.util.Optional;
import javafx.application.Application;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.Scene;
import javafx.scene.control.ListCell;
import javafx.scene.control.ListView;
import javafx.scene.control.TextInputDialog;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.VBox;
@sedj601
sedj601 / Inventory
Last active January 19, 2023 21:58
StackOverflow Help
public class Inventory {
private String id;
private String description;
private boolean stock_status;
private double item_price;
public Inventory(String id, String description, boolean stock_status, double item_price) {
this.id = id;
this.description = description;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.ColumnConstraints;
import javafx.scene.layout.GridPane;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
/**
* JavaFX App
*/