UBUNTU / NOTES</>↗Ubuntu23 Jan 2021
I need to create a Microsoft Word Mail Merge document in my Java Spring MVC application. But running it in Ubuntu server resulting in a document that missing the default font use in the document, which is the Calibri font. So I need to install the font in Ubuntu to make the document looks as […]
CORE API / NOTES</>↗Core API31 Dec 2020
In this example you will learn how to create a generic class in Java. In some previous post in this blog you might have read how to use generic for working with Java collection API such as List, Set and Map. Now it is time to learn to create a simple generic class. As an […]
GENERAL / NOTES</>↗General07 Oct 2020
Java has already taken the coding world by storm with its promises to create better technologies for the future. Though, if you’re looking to learn about the Java programming language from a podcast, it can be hard to find a sufficient developer (or in this case, Java) podcast to learn from, with literally hundreds of […]
GENERAL / NOTES</>↗General17 May 2020
Java 14 has finally been released in March 2020 and brings a whole host of new features that will help ease coding frustrations. In this article, we will break down the top 6 features that make Java 14 an outstanding update compared to the previous versions. Here we go: 1. Switch Expressions Although Switch Expressions […]
GENERAL / NOTES</>↗General09 May 2020
When it comes to using programming languages, coders can make an easy choice. Python is the fastest growing language, but JavaScript is still the most popular one. A great programmer knows what language to focus on, depending on the projects they develop. But what about other programming tools? The language is not the only thing […]
JAVA 8 / NOTES</>↗Java 825 Apr 2020
The following code snippet will show you how to convert the old java.util.TimeZone to java.time.ZoneId introduced in Java 8. In the first line of our main() method we get the default timezone using the TimeZone.getDefault() and convert it to ZoneId by calling the toZoneId() method. In the second example we create the TimeZone object by […]