Posts

Shortcut to open font settings | #keyboard #typing #tricksShortcut To Ch...

Image

shortcut key to open the on-screen keyboard in windows #shorts #youtubes...

Image

Java Program to Convert a Number to a String | Java Interview Questions ...

Image

Building a Web3 Blockchain Decentralized Application (DAPP) using Node J...

Image

JavaFX animations 🎬 with source code

Image
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 Watch application Demo #apple #java

Image

JavaFX Simple Calculator - Design and Code

Image
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");             ...