Posts
shortcut key to open the on-screen keyboard in windows #shorts #youtubes...
- Get link
- X
- Other Apps
Java Program to Convert a Number to a String | Java Interview Questions ...
- Get link
- X
- Other Apps
Building a Web3 Blockchain Decentralized Application (DAPP) using Node J...
- Get link
- X
- Other Apps
JavaFX animations 🎬 with source code
- Get link
- X
- Other Apps
package javafx_animation; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.effect.*; import javafx.scene.paint.*; import javafx.scene.shape.*; import javafx.stage.Stage; import javafx.animation.*; import javafx.scene.Group; import javafx.util.Duration; /** * * @author wajid */ public class JavaFX_Animation extends Application { @Override public void start(Stage primaryStage) { Circle circle = new Circle(50); circle.setFill(new LinearGradient(0, 0, 1, 1, true, CycleMethod.REFLECT, new Stop(0, Color.DEEPSKYBLUE), new Stop(1, Color.DARKBLUE))); DropShadow shadow = new DropShadow(30, Color.DARKBLUE); shadow.setSpread(0.5); circle.setEffect(shadow); Group root = new Group(circle)...
JavaFX Simple Calculator - Design and Code
- Get link
- X
- Other Apps
package sample_calculator; import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.layout.GridPane; import javafx.scene.layout.VBox; import javafx.stage.Stage; /** * * @author wajid */ public class Sample_Calculator extends Application { private final StringBuilder input = new StringBuilder(); private String currentOpt = ""; private double result = 0; private Label display; public static void main(String[] args){ launch(args); } @Override public void start(Stage primaryStage){ primaryStage.setTitle("Material Java Calculator Demo"); ...