Java

Java is a very popular programming language for developing different scale applications. Java can be used to develop various different kind of applications i.e.; a desktop application, mobile application, web application etc.

Java is an object oriented programming language developed by Sun Microsystems in 1995.

Learn more about Java evolution

Java Calendar - Using Swings

I've developed a Java calendar program which is based on Swing concept. Below the screenshot of my program. This program has two panels, one to hold the combo boxes and other one to hold the labels to...

JDBC data types (java.sql.Types)

SQL is a standard and it is implemented by almost all database server vendors. As part of this standard, the grammar of the SQL is defined and it consists of the information about various data types t...

JDBC - info on java.sql.DatabaseMetaData

DatabaseMetaData is an interface as part of JDBC API to get a comprehensive information on the Database. The implementation for this interface is provided by the JDBC vendors.The methods defined in th...

JDBC - info on java.sql.ResultSetMetaData

java.sql.ResultSetMetaData is an interface of JDBC API and the implementation has to be given by JDBC vendors. This interface is mainly used to identify the meta data information on the ResulstSet i.e...

Regular expression for time validation

Here the regular expression for time validation...^(([0-9]|([0-1]{0,1}[0-2])):[0-5][0-9]\\s{0,1}(AM|PM|am|pm|aM|Am|pM|Pm))|(((1[0-9])|(2[0-3])):[0-5][0-9])$Please note that \\s refers to a space chara...

Long datatype - numerical computation puzzle

Let's look at the below code snippet and guess the outputpublic class LongPuzzle{ public static void main(String args[]) { long milliSecondsPerDay = 24*60*60*1000; long microSecondsPerDay = 24...

Java mobile browser detection

Hi guys - I've posted an article 2 years ago on developing a mobile web application by using the existing desktop application. You can read more hereX-WAP-PROFILE is not a full measure for us to decid...

What is a Java collection - quick overview

We can use collection classes and objects to handle group of objects (other than arrays). Java has a collection frame work to deal with collections.Collection framework: A collection framework is a cl...

String parsing with StringTokenizer

StringTokenizer class has been defined in java.util package, which allows us to break a string into tokens. i.e.; this class will be very handy, if you would like to split a string with different valu...

Basic Java Calculator using Swings

Probably I would have posted this few years ago (7 years precisely) as I've developed this long ago. Just got a chance and thought that this might be helpful for few programmers out there.This program...