How To Create Java Color Chooser

Create Java Color Chooser

You need to know that Java can do almost about anything when it comes to programming, besides having its weaknesses.

Here is a tutorial on how to create java color chooser using eclipse ide:

Continue reading How To Create Java Color Chooser

What Is Java Runtime Environment

What exactly Java Runtime Environment is?

java runtime environmentBefore we can exactly tell what java runtime environment really is, we need to understand the very principle of it. First of all, we need to understand what does runtime environment really means.

Continue reading What Is Java Runtime Environment

How to Create a Password Application In Java

Password login
Image by TBIT – Pixabay

Tutorial On How To Create A Password Application In Java

In this tutorial, I will show you how to create a password application in Java. This application is using JPasswordField class.

The password field, of course, let users to enter a password. And just like every form of password around the world, password field displays echo characters instead of the password itself. The default echo character is a bullet, but you can change that echo character to any character on your keyboard.
Continue reading How to Create a Password Application In Java

How To Get User Input Using Console

Get User Input

Get User Input – Creating data by manually changing the variable inside the code is a usual thing to do. But, what if the data you need doesn’t exist yet? and that is until someone inputs it to your program.

Let’s do a small step and try to get input from users using the IDE’s console/terminal. This is a very easy thing to do, you can try to edit the code in any way you want it.

Continue reading How To Get User Input Using Console

Which Is Better : Java or C++?

What Should I Choose, Java or C++?

choosing java or c++Sometimes people compare these 2 programming languages on whether which one of it is better than the other. So today, I’m asking the question “Which Is Better: Java or C++?”. Now we need to look through many factors that will eventually lead one programming language as the winner.

No doubt that Java and C++ have their own advantages and weaknesses. So it can be a little hard for us to determine which one is better than the other. Both of them shares similarities either it’s on syntax or the fact that they are an object-oriented language.

But let’s not make it complicated, here is a list of differences between the two of them

Continue reading Which Is Better : Java or C++?

Explained: Java Coffee Mug History

Java Coffee Mug History

Java Coffee Mug HistoryJava Coffee Mug History ~ Java is a high-level programming language that has been around for a long time since its release. And now almost anyone uses it now, it’s only a small percentage of those people who know the history of the cup. Do you even know the history of it? well, in fact… the story is rather interesting as you’ll find out.

Continue reading Explained: Java Coffee Mug History

Why Java Is So Popular?

Biggest Reasons Why Java Is So Popular Amongst Programmers

Why Java Is So Popular
Perhaps #1 Programming Language

Why Java Is So Popular ~ Today we’re talking about the factors that make the 20 years old programming language “Java” is still popular amongst programmers. Nowadays Java is still the most popular programming language for developing an enterprise application.

Continue reading Why Java Is So Popular?

Advantages of Multithreading

Various Advantages of Multithreading

multitasking is and advantages of multithreading
Multitasking synonymous with efficiency

Advantages of Multithreading ~ These days the shortage of time has led us to a multitasking activities. Where that multitasking has been synonymous with the needs of efficiency. And that is not an exception for the programming world, a program that does a single task is just not enough anymore.

Continue reading Advantages of Multithreading

Code Aggregation *for code reusability

What is Code Aggregation

code aggregation
Code aggregation as reusability

If there is an entity reference in a class, then you what you have is a code aggregation. Aggregation usually represents HAS-A relationship.
Consider the following situation situation.

A Worker object contains many informations such as id, name, phone number etc. It contains one more object named address, which contains its own informations such as city, state, country etc. see it as given below.

Continue reading Code Aggregation *for code reusability

Java Split Method

What Is Java Split Method?

programming Java, Java Split Method
Programming Java

There’s a method in java that is used to “split” string into pieces, the split is based on a given regular expressions and a return char array. There are 2 type of syntax that can be used for Java Split Method, (for a fun fact java split method is available since java 1.4).

Continue reading Java Split Method