Tag: Java
Developing a Java program – Hello World
There are lot of IDE options for the developers to create a java application . In this article , we will use Jet brains IntelliJ IDEA Community edition of the IDE to develop the Java console application. Developing Java program in IntelliJ IDEA 1. Download and install Jet brains IntelliJ IDEA Community edition . Make sure you have the Java (JDK) installed on your PC…
Elastic Search Error – JAVA_HOME environment variable must be set!
When trying to get the Elastic Search running on a Windows 10 machine , there are times when you would hit with the below problem which is related to Java. JAVA_HOME environment variable must be set! If there are any java developers out there , then it would be easier for them to identify this issue. For all those who are new to Java ,…
How to hide virtual keyboard in android using Java?
There are times when you want to hide the virtual keyboard in android. You can easily do that using the InputMethodManager. How to hide virtual keyboard in android using Java ? Just call the hideSoftInputFromWindow method of the InputMethodManager class by passing the token of the current window that contains the focussed view. Below is a sample code snippet demonstrating the usage of InputMethodManager to…