How to fix ” Permission denied (publickey) ” issue in Gitlab

When you try to clone private repositories for the first time from an account, you may get following error. Permission denied (publickey). Permission denied (publickey) fatal : Could not read from remote repository Please make sure you have...

JavaFX Material Design : Setting Up and Making Login Application

One problem I have faced when developing java applications was the old look. Even after the introduction of Nimbus look and feel, the user interface components felt too static and dead. Then JavaFX came...
JavaFX ObservableList

JavaFX ObservableList Tutorial

JavaFX ObservableList is JavaFX SDK's special implementation of List interface. It is basically an observable list that provides option to attach listeners for list content change. ObservableList has an integral role in the JavaFX...

JavaFX Communication Between Controllers

When you begin with JavaFX, one problem you might come up with is the communication between different controllers to communicate between scenes. In this article, we will see how to properly communicate between two...

Find Perfect Domain Name with Domain Suggestion Tools

We all like to have a short yet meaningful domain names for our website or blog. But searching for available domains on GoDaddy or Big Rock is very time consuming and frustrating. In my...
Spring file downloader code with example

Downloading a file from spring controller with spring boot

Sometimes, we will have to provide rest API endpoint for downloading certain files. In this article, we will see how to provide an option to download any file from a java spring rest API...
Dart syntax highlight for Wordpress

Dart/Flutter code highlighting for WordPress

The WordPress's SyntaxHighligter Evolved is a great plugin for syntax highlighting. It supports a ton of syntaxes and has a lot of customization. However, when I started making flutter tutorials, the plugin did not...

JavaFX Custom Shaped Buttons

JavaFX provides effective ways to customize the shape of most of the components. In this tutorial, we will learn how to set a custom shape for the JavaFX Button component. Creating custom shaped buttons We can...
JavaFX Image Button Tutorial

JavaFX Image Button Tutorial

In this tutorial, we will learn how to create image buttons in JavaFX. By default, there is no special component named ImageButton. However, we can easily extend the default JavaFX Button to create a...

Flutter ElevatedButton Tutorial (2022)

In this tutorial, we will explore the ElevatedButton widget in Flutter. ElevatedButtons are, as the name suggests, buttons with a depth or elevation. They will stand on top of the container with a shadow....

JavaFX Get Screen Size

JavaFX provides an easy option to get screen dimensions (screen size) of all the monitors connected. This can be done using the javafx.stage.Screen class. Get Screen Size of Primary Monitor import javafx.application.Application; import javafx.geometry.Rectangle2D; import javafx.stage.Screen; import javafx.stage.Stage; public class Main...

JavaFX Scene Switch Animation

We all love JavaFX for its modern look and easy to use user interface APIs. In this article we will discuss about JavaFX Scene Switch (Change) animation. I have implemented two types of scene...
JavaFX Checkcombobox controlsfx

JavaFX CheckComboBox

JavaFX CheckComboBox is a special UI control provided by ControlsFX. It is used for giving option to users to select more than one item from a Combobox. It is an extremely useful component you...
WebP image support in Linux

How to add WebP thumbnail support on Ubuntu and Linux Mint

As of writing this article, on 2022 June, there is no default support for WebP images in the Ubuntu/Linux Mint file explorers. As a result, the image file thumbnails are not rendered and we...
JavaFX DatePicker Tutorial

JavaFx DatePicker Tutorial

In this tutorial, we will talk about JavaFX DatePicker basic usage, how to format the selected date using DateTimeFormatter to string value, and customize the component using JavaFX CSS. Using JavaFx DatePicker DatePicker is a standard...
UUID in flutter

How to generate UUID in dart / flutter

Very often, we come across the need to have UUID. UUIDs are perfect for giving unique ID to objects and resources. In this tutorial, we will see how to create UUID in dart for...

How to create excel files in Java

In this tutorial, we will explore the Java spreadsheet support and learn how to create Microsoft Excel .xlsx spreadsheet files using java program. For handling Excel files, we need to make use of the...

JavaFX Splash Screen

Splash screens are awesome. They allows to engage users when the application load in the background as a loading screen. In this article, we will talk about implementing JavaFX Splash Screen / Loading Screen...
Java Webp Tutorial

Java WebP Image Support – Read and Save WebP Images

WebP is a new generation image format developed by Google exclusively for the Web. It has both lossy and lossless compression support. When compared to the commonly used formats like JPEG, WebP has 25%-34%...

Custom Shapes for JavaFX UI Components

JavaFX allows great customization options. You can easily customise and reuse component designs using CSS. In this article, we will see how to apply custom shapes for any GUI component*. Which components support custom shapes...