Are you interested in making your application speak? Converting text to speech within your application is fairly simple with the help of a few libraries. Let’s take a look at what is required to get FreeTTS and MBROLA working within your Java application. Continue reading “Java Text to Speech – the basics”
JavaFX Text to Speech
Have you ever wondered how to make your application talk? Well, in this tutorial we take a look at a JavaFX application built to sample some voices. The application uses freely available tools such as FreeTTS and MBROLA to add speech into an application. Continue reading “JavaFX Text to Speech”
JavaFX Alert information box demo
JavaFX provides a number of Alert dialog box templates to solve a range of requirements. Here we look at two of the options namely the information template and blank template. Continue reading “JavaFX Alert information box demo”
JavaFX Alert dialog example
Quite often when building desktop applications there is a need to present information to the user. A popular means of doing this is through the use of a popup dialog box. JavaFX provides us with a few ways of doing this using the Alert dialog box. In this tutorial we take a look at the various types of alert from error to confirmation. Continue reading “JavaFX Alert dialog example”
Using Java Timer to build a countdown timer
Whilst developing an application the other day I wanted to create a repeating task. Looking around for a solution I came across the Timer and TimerTask classes. These two classes in combination looked like a perfect solution to my problem. It was only when I came to implement my solution I noticed something about how they work. Continue reading “Using Java Timer to build a countdown timer”
Configure Log4J2 with properties file
When you write an application you set out to make it work. However, quite often once an application is deployed in the field you can encounter problems. Having a log file that can help you trace where the problem lies can be an invaluable tool. Continue reading “Configure Log4J2 with properties file”
Adding encrypted authentication to your application
This tutorial takes a look how authentication works within an application, particularly how passwords are secured in an encrypted manner. This example uses a home built system so that you can see the mechanisms used to securely store passwords. Continue reading “Adding encrypted authentication to your application”
Java application using a properties file
Using a text file to hold configurable values for your application is a great way to provide flexibility without needing to re-compile your code. This tutorial takes you through how to add a properties file to your Java desktop application.
Java with SQLite embedded database
If your java desktop application needs to store data in a database then a good solution is to embed a database into your solution. This tutorial takes you step by step through embedding an SQLite database into your Java desktop application. Continue reading “Java with SQLite embedded database”
Getting started with JTree
JTree is a swing class used to display a tree like structure such as the file directory structure. If we want to create a JTree we could simply call any one of a number of constructors and it would give us a JTree. To demonstrate the point Continue reading “Getting started with JTree”