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
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
*/
<?xml version="1.0" encoding="UTF-8"?>
<?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.text.Font?>
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.scene.shape.Circle;
/**
*
* @author sedri
*/
public class PVector{
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
/**
*
* @author blj0011
*/
Brittney   2 F
Andra   3 F
Elease   4 F
Alejandrina   7 M
Jefferey   11 M
Gregoria   13 F
Laquita   17 F
Shyla   19 F
Mona   23 F
Joannie   29 F
import java.time.*;
import javafx.animation.*;
import javafx.application.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.scene.layout.*;
import javafx.stage.*;
/**
*
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BatchCat;/*Make sure you added BatchCat to your references!*/
namespace BCHandler
{
class BatchCatHandler