Tag: Java
-
Java Swing GUI–Currency Converter
This is a Java Swing GUI program for currency conversion. So basically here we convert one currency to other or vise versa. For detailed explanation of how swing works checkout my previous post; Java Swing GUI Here as usual we create a JApplet class and implement an Action Listener. Here we require two […]
-
Java Swing GUI- Chemical Properties of Elements
In one of my previous posts, I made a C program, which would find the atomic number of an element from a text file and display it. Here today I have an upgraded version of that same program which is far more efficient than the C program. It is written in Java and when […]
-
Java Math Example – Resultant of two Forces.
The program below shows how Java can be implemented in math for several applications. In this program we determine the resultant force of two different forces acting upon a body and the angle at which it is acting. At first in order to use the math functions predefined in java we need to import […]
-
How convert an Array to String ?
I probably searched the internet a lot to know how to convert an array to string but wasn’t satisfied with the solution. So, I decided to come up with my own program that converts an Array to String. Still I have one problem with it but we will discuss it in the end. […]
-
How to convert a String to an Array ?
At times, we need to convert a string in to an array in order to use it in our program so how do we do that. Below I have a JAVA program that will help you to convert any String to an Array. First we declare a variable of String data-type. Then we […]