Skip to content

Instantly share code, notes, and snippets.

View lvxingtu's full-sized avatar

lvxingtu

View GitHub Profile
@lvxingtu
lvxingtu / MPlayer.java
Created December 25, 2021 08:07 — forked from Yuki44/MPlayer.java
Music Player using JavaFX
package com.github.shkesar.JMusic;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
@lvxingtu
lvxingtu / JavaFX TC .css
Created October 15, 2020 00:42 — forked from kinsleykajiva/JavaFX TC .css
Contains basic css for customizing a TableView and Charts.
.table-view .column-header,
.table-view .column-header-background .filler {
-fx-background-color: #6622CC;
}
.table-view .column-header .label{
-fx-text-fill: white;
-fx-font-weight: bold;
-fx-alignment: CENTER_LEFT;
}
.table-view .cell{
@lvxingtu
lvxingtu / Terminal.java
Created October 13, 2020 00:55 — forked from ryan-beckett/Terminal.java
A simple GUI-based non-fuctional terminal emulator
import java.awt.Font;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import javax.swing.InputMap;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.KeyStroke;
import javax.swing.SwingUtilities;
@lvxingtu
lvxingtu / brume.css
Created October 13, 2020 00:17 — forked from andytill/brume.css
JavaFX Light Grey Brume Theme
/**
* JavaFX CSS light grey/white 'brume' theme.
*/
.titled-pane {
-fx-effect: dropshadow(three-pass-box, #9F9F9F, 15, 0, 0, 0);
-fx-animated: true;
-fx-text-fill: #505050;
}
import java.util.List;
import java.util.regex.Pattern;
import javafx.application.*;
import javafx.collections.FXCollections;
import javafx.event.*;
import javafx.scene.*;
import javafx.scene.control.*;
import javafx.scene.effect.*;
import javafx.scene.image.*;
import javafx.scene.web.HTMLEditor;
@lvxingtu
lvxingtu / modena.css
Created February 24, 2019 13:38 — forked from maxd/modena.css
modena.css from JDK 10.0.1
/*
* Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*