How to open file explorer in java
Sometimes, we come across requirements where we need to open a particular folder or directory in the native file explorer. In this tutorial, we will see how to do that, easy and effective.
Opening file...
Flutter OutlinedButton Tutorial (2022)
An OutlinedButton is a button with text child and a border outline. It is also a form of TextButton with an outline. They are used in the places where the button needs medium importance....
How to add JavaFX Charts / Graphs : Tutorial
JavaFX provides a powerful set of Charts/Graphs that can be added very easily to your programs. Frankly, It is even easier than adding a Table in JavaFX. Graphical charts are available in the javafx.scene.chart...
How to Create Barcodes as Batches (Bulk creation)
You can create barcodes for any alphanumeric combination using Zint Barcode Generator. Download Zint Barcode Studio From http://sourceforge.net/projects/zint/. It is available for both windows and Linux.
Generating One Barcode at a Time
Open The Software and Type the Data...
Create animated GIF from multiple images in Java
In this tutorial, we will learn how to programmatically create animated GIF by combining multiple images in java easily. We will make use of the library gifencoder for this purpose.
Add the 'gifencoder' library to...
Send email from Java application using Java Mail API
Java Mail API allows to send emails from your Java application. Very often it will be necessary to send emails when you are developing a business related applications or simply hobby projects.
Using...
Java TrayIcon Tutorial (With popupmenu and images)
Trayicons are really useful widgets for interacting with the application when the main dialog is minimized/hidden or the application is running in the background. In this tutorial, let's see how to add a Java...
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...
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%...
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...
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...
Java JFrame Tutorial
JFrame is a java swing container that can be used to create application windows. JFrames are the top most container in the swing applications. All the GUI components like labels, comboboxes are added into...
Flutter TextButton Widget – Usage and Examples
In this tutorial, we will explore the Button widgets available in the Flutter. Compared to the previous version Flutter2, Flutter3 has updated the button widget. We will see how to use the TextButton widget...
Encryption and decryption in flutter
This tutorial explores the data encryption and decryption using the dart language for the flutter apps. We come across the requirements of encrypting and decrypting data when we start building real-world applications.
For supporting...
How to update all WordPress post content URLs with SQL
Updating all the URLs and resources in the WordPress site after migrating to a new domain or migrating to a domain from IP address is a painstaking task. Luckily, there is an easy way!
In...
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...
JavaFX Animation Tutorial with Examples
In this article, we will have a deep look at JavaFX Animation. JavaFX provides easy to use animation API (javafx.animation package). There are some predefined animation that can be used out of the box...
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...
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...